MSYS wasn´t the problem: WinAVR (a AVR-RISC-Microcontroller-IDE also containing special versions of make and gcc) was the problem. After renaming the winavr-folder it worked. Currently wxWidgets is compiling
Edit:
Compiling is complete, I created a new wxWidgets-Project, but project refuses compiling:
main.cpp:24: error: call of overloaded `wxMenu(const char[1])' is ambiguous
C:/wxWidgets-2.6.2/include/wx/msw/menu.h:122: note: candidates are: wxMenu::wxMenu(const wxMenu&) <near match>
C:/wxWidgets-2.6.2/include/wx/msw/menu.h:59: note: wxMenu::wxMenu(long int) <near match>
C:/wxWidgets-2.6.2/include/wx/msw/menu.h:57: note: wxMenu::wxMenu(const wxString&, long int) <near match>
main.cpp:28: error: call of overloaded `wxMenu(const char[1])' is ambiguous
C:/wxWidgets-2.6.2/include/wx/msw/menu.h:122: note: candidates are: wxMenu::wxMenu(const wxMenu&) <near match>
C:/wxWidgets-2.6.2/include/wx/msw/menu.h:59: note: wxMenu::wxMenu(long int) <near match>
C:/wxWidgets-2.6.2/include/wx/msw/menu.h:57: note: wxMenu::wxMenu(const wxString&, long int) <near match>
Process terminated with status 1 (0 minutes, 0 seconds)
After outcommenting the code it compiles fine. Is it a bug in CodeBlocks or is something with my installtion wrong?
Also is there any better solution for the wxWidgets library: Even the smallest Programm needs this 10MB dll. Can I compile it somehow different that it only includes the suff I need directly in the exe (SHARED=0 MONOLITHIC=0) or more dlls (SHARED=1 MONOLITHIC=0)?