Do you use the standard "wx-config"-call generated by wizard ?
Adding " --host=i586-mingw32msvc " might work.
Can you please post the output of
should be something like:
Default config is gtk2-unicode-release-2.8
Default config will be used for output
Alternate matches:
base-unicode-debug-2.8
base-unicode-release-2.8
gtk2-unicode-debug-2.8
Also available in /usr:
i586-mingw32msvc-msw-unicode-release-2.8
i586-mingw32msvc-msw-unicode-release-static-2.8
The output ofwx-config --host=i586-mingw32msvc --static --cflags
is-I/usr/i586-mingw32msvc/lib/wx/include/i586-mingw32msvc-msw-unicode-release-static-2.8 -I/usr/i586-mingw32msvc/include/wx-2.8 -D__WXMSW__ -mthreads
Without the "--static" it would not run on Windows, at least not outof the box.
You can try to configure the sources with:
./configure --prefix=/usr/i586-mingw32msvc \
--host=i586-mingw32msvc \
--build=`./config.guess` \
--enable-unicode \
--disable-shared