I have been encountering an issue of java heap error while building my omnet projects in Omnet++ IDE. Then i upgraded my computer's RAM and it had started working. Now again i am having the same issue in building my projects through Omnet++ IDE.
I have tried building the projects through terminal using make clean and then make. These two commands successfully build those projects which do not have inet references.
I am getting the following error while building those projects which have the inet modules. It was working fine earlier while building it in OMNET++ IDE.
sana@sana-HP-ProBook-4520s:~/Documents/ProjOmnet/firstProject_ver21_mobile6$ make
MSGC: MyMsg.msg
MSGC: broadcastMsg.msg
BasicClass2.cc
In file included from BasicClass2.cc:16:0:
BasicClass2.h:22:38: fatal error: inet/common/ModuleAccess.h: No such file or directory
#include "inet/common/ModuleAccess.h"
^
compilation terminated.
make: *** [out/gcc-release//BasicClass2.o] Error 1
Kindly tell me the exact commands for building those projects which have inet references through terminal.
I'll be much obliged.