Discussion:
wx-config script incorrectly generated
Jan Engelhardt
2013-11-15 01:28:35 UTC
Permalink
Something is wrong in or with wx-config because it outputs
libwx_mswu_whatever-3.0.a, while the actual file names are
libwx_mswu_whatever-3.0-i686-w64-mingw32.a.

$ ../configure --host=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32 --enable-unicode --enable-stl --enable-static --disable-shared --with-zlib=builtin --with-png=builtin --without-lzma --without-stc
$ make && make install
$ /usr/i686-w64-mingw32/bin/wx-config --libs
-L/usr/i686-w64-mingw32/lib -Wl,--subsystem,windows -mwindows /usr/i686-w64-mingw32/lib/libwx_mswu_xrc-3.0.a /usr/i686-w64-mingw32/lib/libwx_mswu_webview-3.0.a /usr/i686-w64-mingw32/lib/libwx_mswu_qa-3.0.a /usr/i686-w64-mingw32/lib/libwx_baseu_net-3.0.a /usr/i686-w64-mingw32/lib/libwx_mswu_html-3.0.a /usr/i686-w64-mingw32/lib/libwx_mswu_adv-3.0.a /usr/i686-w64-mingw32/lib/libwx_mswu_core-3.0.a /usr/i686-w64-mingw32/lib/libwx_baseu_xml-3.0.a /usr/i686-w64-mingw32/lib/libwx_baseu-3.0.a -lwxregexu-3.0-i686-w64-mingw32 -lwxexpat-3.0-i686-w64-mingw32 -lwxtiff-3.0-i686-w64-mingw32 -lwxjpeg-3.0-i686-w64-mingw32 -lwxpng-3.0-i686-w64-mingw32 -lwxzlib-3.0-i686-w64-mingw32 -lrpcrt4 -loleaut32 -lole32 -luuid -llzma -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32
$ find /usr/ | grep libwx_mswu_webview-3.0.a
(no result)
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2013-11-15 12:30:33 UTC
Permalink
On Fri, 15 Nov 2013 02:28:35 +0100 (CET) Jan Engelhardt wrote:

JE> Something is wrong in or with wx-config because it outputs
JE> libwx_mswu_whatever-3.0.a, while the actual file names are
JE> libwx_mswu_whatever-3.0-i686-w64-mingw32.a.

This seems to be the same issue as the one raised in this thread:

https://groups.google.com/d/topic/wx-users/5pcjGZ0Ysfc/discussion

Unfortunately I still don't have any answer for this, I don't know more
about wx-config than anybody else. If someone can look into this and try to
understand what's going on here, it would be very welcome.

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Jan Engelhardt
2014-06-24 13:23:27 UTC
Permalink
Post by Jan Engelhardt
Something is wrong in or with wx-config because it outputs
libwx_mswu_whatever-3.0.a, while the actual file names are
libwx_mswu_whatever-3.0-i686-w64-mingw32.a.
$ ../configure --host=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32 --enable-unicode --enable-stl --enable-static --disable-shared --with-zlib=builtin --with-png=builtin --without-lzma --without-stc
$ make && make install
$ /usr/i686-w64-mingw32/bin/wx-config --libs
-L/usr/i686-w64-mingw32/lib -Wl,--subsystem,windows -mwindows
/usr/i686-w64-mingw32/lib/libwx_mswu_xrc-3.0.a [...]
$ find /usr/ | grep libwx_mswu_webview-3.0.a
(no result)
Explicitly specifying --build=i686-pc-cygwin at the configure line is
required so as to correctly pinpoint software (including SW other than
wxWidgets!) to the fact that it is cross-compiling.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...