Problem in INET installation

574 views
Skip to first unread message

Rashid Ali Khan

unread,
Nov 6, 2017, 9:23:56 AM11/6/17
to OMNeT++ Users
Dear brothers.

I am new to Omnet++. I am intending to install oversim on Omnet++ which requires INET to be installed before. I am encountering the following error after "make" command in shell. I am trying to install latest version of INET on Windows 10.

applications/ethernet/EtherAppCli.cc
In file included from applications/ethernet/EtherAppCli.cc:21:
applications/ethernet/EtherAppCli.h:21:10: fatal error: 'INETDefs.h' file not found
#include "INETDefs.h"
         ^~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:480: ../out/clang-release/src/applications/ethernet/EtherAppCli.o] Error 1
make[1]: Leaving directory '/d/sim/inet/src'
make: *** [Makefile:2: all] Error 2


Kindly help me as I wasted previous two weeks to solve this problem but failed.

Michael Kirsche

unread,
Nov 6, 2017, 10:32:44 AM11/6/17
to OMNeT++ Users
You should probably use the older OMNeT and INET versions that the Oversim installation manual (http://www.oversim.org/wiki/OverSimInstall) requires.
Newer versions of INET / OMNeT will not work with Oversim.

On a side-node, when you try to build any OMNeT project from the console/shell, make sure that you use the mingw.cmd environment under Windows and that all the necessary paths and parameters (e.g., include paths) are set correctly for the make command. Better build projects from the OMNeT Eclipse IDE if you do not know what you are doing.

Rashid Ali Khan

unread,
Nov 6, 2017, 11:04:19 AM11/6/17
to omn...@googlegroups.com
Thanks Michael. I am going to try older versions

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.



--
Rashid Ali Khan

Rashid Ali Khan

unread,
Nov 7, 2017, 11:35:32 AM11/7/17
to OMNeT++ Users
Thanks a lot Michael. I am shifted to Ubuntu platform from windows now. I have installed Omnet ++ 4-2-2 alongwith INET and Oversim through shell as per your directions. but when I try to load INET and Oversim through Eclipse IDE, the message "C/C++ index encountered error" appeared. Kindly help me regarding this error.
Thanks a lot for your valueable help

Michael Kirsche

unread,
Nov 7, 2017, 1:23:24 PM11/7/17
to OMNeT++ Users
You mean the OMNeT Eclipse IDE displays this error or a normal Eclipse installation?
Did you look online for the error message and possible solutions?
When does the error occur?
Reply all
Reply to author
Forward
0 new messages