I've installed mingw32 and succeeded in compling a "hello world".
but when I tried to compile a wxWidgets program in code:blocks
I got
:: === crosscompile, Debug ===
/usr/local/include/wx-2.6/wx/defs.h:2790: error: conflicting declaration 'typedef struct GtkWidget*WXWidget'
/usr/local/include/wx-2.6/wx/defs.h:2583: error: 'WXWidget' has a previous declaration as `typedef void*WXWidget'
/usr/local/include/wx-2.6/wx/defs.h:2790: error: declaration of `typedef struct GtkWidget*WXWidget'
/usr/local/include/wx-2.6/wx/defs.h:2583: error: conflicts with previous declaration `typedef void*WXWidget'
/usr/local/include/wx-2.6/wx/defs.h:2790: error: declaration of `typedef struct GtkWidget*WXWidget'
/usr/local/include/wx-2.6/wx/defs.h:2583: error: conflicts with previous declaration `typedef void*WXWidget'
/usr/local/include/wx-2.6/wx/filefn.h:322: error: zero width for bit-field `wxAssert_323::BadFileSizeType'
:: === Build finished: 7 errors, 0 warnings ===
I did exactly the same as
http://forums.codeblocks.org/index.php?topic=3343.0 said.