Thursday, October 25, 2012

Compiling C++ code after Ubuntu 12.10 upgrade...

Recently upgraded to Ubuntu 12.10 quantal and almost immediately found out that Omnet++ is not compiling any more :)

It turns out the issue is with the new gcc 4.7 compiler.

After Googling the issue, I stumbled on this post that help me fix it. The problem is with file that throws an error

 add the following lines to fix the issue:

#ifdef _WIN32


Thanks Georgi for posting it. It worked like a charm.

Hope it helps you as well.

No comments:

Post a Comment