Hello
I configured 2.6.1 with
../configure --with-msw --with-odbc --disable-shared --with-libxpm --enable-monolithic --with-libjpg --with-libz --with-libtiff
Toolkit is mingw/gcc
The resulting libs are:
libwx_msw-2.6.a
libwxexpat-2.6.a
libwxjpeg-2.6.a
libwxpng-2.6.a
libwxregex-2.6.a
libwxzlib-2.6.a
To succesfully compile an application, I had to add manually
libtiff3.dll
to the libs dir and link against it. Therefore compiled applications dont start without libtiff.dll in any known path. This was not needed in my 2.4.2 built.
1.) How can I manage that libtiff is builtin ?
2.) Second effect is that the 2.6.1 apps always need zlib1.dll, although I linked against wxzlib . How can I avoid this and make it also builtin ?
It was also not needed in 2.4.2.
App. compiled with 2.6.1 needs extra zlib1 and libtiff dll
- Ryan Norton
- wxWorld Domination!
- Posts: 1319
- Joined: Mon Aug 30, 2004 6:01 pm
Re: App. compiled with 2.6.1 needs extra zlib1 and libtiff d
--with-libtiff=builtinarmink wrote:1.) How can I manage that libtiff is builtin ?
--with-zlib=builtinarmink wrote: 2.) Second effect is that the 2.6.1 apps always need zlib1.dll, although I linked against wxzlib . How can I avoid this and make it also builtin ?
It was also not needed in 2.4.2.
Also, you can probably correct this by adding the path of where those dlls are to your system enviroment variable PATH. In windows go to the system control panel, advanced, then add the path to it
[Mostly retired moderator, still check in to clean up some stuff]
Thanks Ryan,
I tried al possible settings with configure ... at the end I did it another way :
I compiled libtiff separately to get a "libtiff.a" and now I just link against it ... Since al works fine since then (the zlib problem disppeared too , may be it was linking sequence ) ... I'm pruductive again, don't ask anymore what the problem was and am enjoying programming with wxwidgets ...
Nevertheless Thanks Very Much
I tried al possible settings with configure ... at the end I did it another way :
I compiled libtiff separately to get a "libtiff.a" and now I just link against it ... Since al works fine since then (the zlib problem disppeared too , may be it was linking sequence ) ... I'm pruductive again, don't ask anymore what the problem was and am enjoying programming with wxwidgets ...
Nevertheless Thanks Very Much