Thread: Build without WXUSINGDLL
Hi,
I'm currently trying to build pgAdmin without the DLL flag. The build fails with "cannot find 'wxbase28_vc_custom.lib'".
The corresponding dll is present in the wxWidgets\lib\vc_dll folder and the build with DLL flag works.
What this library means and where to get or how to compile it?
Thank you
Jasmin
On Wed, Jan 12, 2011 at 5:50 PM, Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com> wrote: > Hi, > I'm currently trying to build pgAdmin without the DLL flag. The build fails > with "cannot find 'wxbase28_vc_custom.lib'". > The corresponding dll is present in the wxWidgets\lib\vc_dll folder and the > build with DLL flag works. > What this library means and where to get or how to compile it? Building without WXUSINGDLL is not supported, and won't work even if you do find all the libraries (which, FWIW, would be in wxWidgets\lib\vc_lib iirc). -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
I see, how to build pgadmin the release way?
Because, when I build now, it requires that the *vc_custom.dll is present on the system. When installing pgAdmin, this is not required.
2011/1/12 Dave Page <dpage@pgadmin.org>
Building without WXUSINGDLL is not supported, and won't work even ifOn Wed, Jan 12, 2011 at 5:50 PM, Jasmin Dizdarevic
<jasmin.dizdarevic@gmail.com> wrote:
> Hi,
> I'm currently trying to build pgAdmin without the DLL flag. The build fails
> with "cannot find 'wxbase28_vc_custom.lib'".
> The corresponding dll is present in the wxWidgets\lib\vc_dll folder and the
> build with DLL flag works.
> What this library means and where to get or how to compile it?
you do find all the libraries (which, FWIW, would be in
wxWidgets\lib\vc_lib iirc).
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Wed, Jan 12, 2011 at 6:36 PM, Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com> wrote: > I see, how to build pgadmin the release way? > Because, when I build now, it requires that the *vc_custom.dll is present on > the system. When installing pgAdmin, this is not required. You can use the build-wxmsw.bat script in xtra/wx-build in the pgAdmin source tree to build wxWidgets appropriately. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
I did that now. A completely new build of wx via the bat and a release build of pgAdmin.
When starting pgadmin the wxbase28u_vc_custom.dll is still required. Another point is, that the pgadmin3.exe is just 6.7 MB. The original exe (from installer) is 11,7 MB.
I think there are one or more libraries missing, that should be linked into the assembly.
2011/1/12 Dave Page <dpage@pgadmin.org>
On Wed, Jan 12, 2011 at 6:36 PM, Jasmin Dizdarevic<jasmin.dizdarevic@gmail.com> wrote:> I see, how to build pgadmin the release way?You can use the build-wxmsw.bat script in xtra/wx-build in the pgAdmin
> Because, when I build now, it requires that the *vc_custom.dll is present on
> the system. When installing pgAdmin, this is not required.
source tree to build wxWidgets appropriately.
----Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
On Wed, Jan 12, 2011 at 9:18 PM, Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com> wrote: > I did that now. A completely new build of wx via the bat and a release build > of pgAdmin. > When starting pgadmin the wxbase28u_vc_custom.dll is still required. Another > point is, that the pgadmin3.exe is just 6.7 MB. The original exe (from > installer) is 11,7 MB. > I think there are one or more libraries missing, that should be linked into > the assembly. No, it's just that we stopped statically linking wxWidgets, and started dynamically linking. So the .exe is smaller, but there are now DLLs required. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company