Reading some topics it seems some Windows developers managed to build their wxWidgets-based applications using MinGW/MSYS and a magic script called wx-config. I also found the Eclipse page insightful even if it says that the wx-config command doesn't exist under Windows. But I have it and from a MSYS console, I can use it.
But calling it to output default C++ flags I get the following error message :
Code: Select all
$ wx-config --cxx-flags
*** Error: Unrecognised option: '--cxx-flags'
Use wx-config --help for information on command line options.
Code: Select all
$ wx-config --libs
-L/d/wxWidgets/build-release-dll/./lib -mthreads -Wl,--subsystem,windows -mwindows -lwx_msw_xrc-2.6 -lwx_msw_qa-2.6 -lwx_msw_html-2.6 -lwx_msw_adv-2.6 -lwx_msw_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6
JM.