what can i do about this MSYS/minGW environment problem?
You don't need this environment to compile wxWidgets. Instead, do the following:
1.) Make sure the PATH environment variable is clean and does not point to any GCC / MSYS / MINGW installation folders!
2.) Install the TDM GCC compiler
3.) Go into the wxWidgets source file folder root (the one, where e.g.
configure.in is in)
4.) Open a command prompt there and do:
set PATH=[PATH_TO_TDM_GCC_BIN_(!)_FOLDER];%PATH%
cd build\msw
mingw32-make -f makefile.gcc CXXFLAGS="-fno-keep-inline-dllexport" BUILD=release SHARED=1 MONOLITHIC=1 USE_XRC=1 USE_OPENGL=1 UNICODE=1 clean
mingw32-make -f makefile.gcc CXXFLAGS="-fno-keep-inline-dllexport" BUILD=release SHARED=1 MONOLITHIC=1 USE_XRC=1 USE_OPENGL=1 UNICODE=1
Do it exactly like this (of course adapt the path to the TDM GCC
bin folder) and it will work.