|
Main /
Installation of OMNeT++ 3.x on CygwinNOTE: These instructions were written for OMNeT++ 3.x. The 4.x series are already released with a bundled copy of MinGW and necessary libraries, so there is little motivation to use Cygwin. If you are still looking into using OMNeT++ 4.x with Cygwin, you are invited to document your experiences on this page. Installation instructions in nutshellYou need to compile OMNeT++ from source, as the libs in the Windows binary version are for Visual C++ and they are not compatible with Cygwin. 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. Issues with CygwinProblem with gcc 2.95.xIMPORTANT: Do not use the Cygwin gcc 2.95.x compiler, as it generates flawed exception handling code (will crash when used with coroutines/threads). Later Cygwin gcc versions (3.2 or later) should be fine. Problem with gcc 3.4.4 (cygming special)OMNeT++ 3.2 does not compile with this version of 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. The compilation problem seems to occur during the linking phase in the
Cygwin: simulation programs crash on exitWe have observed this when compiling OMNeT++ with gcc 3.3.3 (cygwin special) and release Installing on omnetpp-4.1 on CygwinI took the chance and eventually succeeded to build on Cygwin. The IDE is still not functional - but the batch execution works great. I posted a message on the group |