error compilation with mingw
Michael Wetherell
mike.wetherell at ntlworld.com
Sat Feb 2 06:41:04 PST 2008
On Friday 01 February 2008 18:11, Didier Bretin wrote:
> Here is the result of the configure:
> Configured wxWidgets 2.8.7 for `i686-pc-mingw32'
>
> Which GUI toolkit should wxWidgets use? msw
> Should wxWidgets be compiled into single library? no
> Should wxWidgets be compiled in debug mode? yes
> Should wxWidgets be linked as a shared library? no
> Should wxWidgets be compiled in Unicode mode? yes
> What level of wxWidgets compatibility should be enabled?
> wxWidgets 2.4 no
> wxWidgets 2.6 yes
> Which libraries should wxWidgets use?
> jpeg sys
> png sys
> regex builtin
> tiff sys
> zlib no
> odbc no
> expat builtin
> libmspack no
> sdl no
>
>
> Did I miss something else ?
Hi,
It looks like configure is detecting system libraries that aren't
present, e.g. it detected libjpeg, yet jpeglib.h can't be found later
during the make:
> ../src/common/imagjpeg.cpp:45:25: jpeglib.h: No such file or
> directory
I can't think of a reason for that to be happening, it works ok here.
Maybe you know of something in your setup that could be causing it.
If you can't find something wrong, then you could try explicitly
choosing the 'builtin' libraries rather than the phantom 'sys' ones:
$ ../configure --disable-shared --enable-debug --enable-unicode --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=builtin --with-zlib=builtin
HTH,
Mike
More information about the wx-users
mailing list