NOTE: These instructions refer to the older 3.x versions of OMNeT++. 4.x releases already contain MinGW and the necessary libraries.
You need to compile OMNeT++ from source, as the libs in the Windows binary version are for Visual C++ and they are not compatible with MinGW. The procedure is essentially the same as on Linux, except that the compilation environment has to be set up first.
If you are unsure or have run into trouble, please read the detailed instructions.
OMNeT++ 3.2 does not compile with this version of gcc. gcc --version displays the version number of your gcc.
As there is no problem with several other gcc versions (gcc-4.0.1 , gcc-3.4.0 , gcc-3.3.5 on Linux, gcc-3.3.3 (cygwin special), gcc-3.2.3 (mingw special), gcc-3.3.3 (linux ia64)) and with C++ compilers from other vendors (the Intel compiler, Visual C++), this can be safely considered a compiler bug. Please install another version of gcc.
TBD