summary: "yeah, my windows binary wx-config does not handle --selected_config, now I see clearly" "I see now, so monolithic is the only way."
Klaas Holwerda wrote: >> 1) >> unzipped wxWidgets-2.8.10.zip to c:\msys1.0 > > Oke, so we are going for the Unix way, using MSYS. no, just the dir name was msys1.0 > So are you sure you are working with the MSYS shell? > And not with cmd dos box! no, i did it only within cmd dos box > I see down here use of wx-config, so it is clear you are mixing the > two methods up. I have a wx-config.exe, though it does not handle --selected_config :( maybe that was the main reason it failed > http://wxart2d.org/moin/MinGWMSys > http://wxart2d.org/moin/MinGW checking... >> 2) >> C:\msys1.0\wxWidgets-2.8.10\build\msw> >> mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=0 >> UNICODE=1 > Not Oke. > But this is not the MSYS way, but the cmd DOS way. You should not mix > them. > So make instead of mingw32-make. did not mix, I was still in cmd box > I have them here. > > db...@s202104 ~ > $ export WXART2D=/c/data/tools/mingw/wxArt2D > > db...@s202104 ~ > $ export WXWIN=/c/data/tools/mingw/wxWidgets-2.8.10 > > db...@s202104 ~ > $ echo $WXWIN > /c/data/tools/mingw/wxWidgets-2.8.10 > > db...@s202104 ~ > $ echo $WXART2D > /c/data/tools/mingw/wxArt2D > > $ echo $PATH > .:/usr/local/bin:/mingw/bin:/bin:/c/data/tools/cmake/bin :ETC. > > db...@s202104 ~ > $ wx-config --selected-config > msw-ansi-debug-static-2.8 > >> 5) >> environment settings DO THIS within cmd!!! not in Control >> panel/system/...: >> set WXWIN=C:\msys1.0\wxWidgets-2.8.10 > Wrong MSYS shell. I am sorry, i take to much for granted, will add > more to the docs. still cmd dos box >> 6) >> added these lines into C:\msys1.0\wxArt2D\bin\FindwxWidgets.cmake >> (otherwise my cmake-gui does not find wx) >> SET(wxWidgets_ROOT_DIR c:/msys1.0/wxWidgets-2.8.10) >> SET(wxWidgets_LIB_DIR c:/msys1.0/wxWidgets-2.8.10/lib) >> SET(wxWidgets_CONFIGURATION msw-unicode-release-static-2.8) >> SET(wxWidgets_USE_UNICODE 1) >> SET(wxWidgets_USE_DEBUG 0) > This is not the idea. > Just WXART2D and WXWIN + wx-config in the path is enough. > The rest is searched for via this, and or internal. If the are not > found, its because something else is wrong. PATH and settings etc. above. yeah, my windows binary wx-config does not handle --selected_config, now I see clearly >> 7) (see "messages at point 7)" too) >> C:\msys1.0\wxArt2D> >> cmake-gui >> source: C:/msys1.0/wxArt2D >> build: C:/msys1.0/wxWidgets-2.8.10 >> configure... >> MinGW Makefiles, Use default native compilers >> set all libs I had each line, one by one *sigh* > > No way. Just set the next options right (as you compiled and installed > wxWidgest): > > wxWidgets_USE_DEBUG > wxWidgets_USE_MONOLITHIC > wxWidgets_USE_STATIC > wxWidgets_USE_UNICODE "I see now, so monolithic is the only way." > Oke. > > I stop here, first you need to do things correctly. > Choose one method. Give the setting and follow directions on the wiki. i did (cmd box, mingw), just the wx-config issue=>FindwxWidgets.cmake :( > And the first moment things look wrong, don't change anything in > FindwxWidgets, just report what you did and see. > Right now i am compiling once more with MSYS, from scratch, and it works. > So lets crack this once and for all :-) ok, thx anyway > I added some more to the docs pages, read carefully, and only add > MESSAGE to FindwxWidgets.cmake, no more ;-) alright y.s. sis ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev