inet-framework / simulte

SimuLTE - LTE System Level Simulation Model and Simulator for INET & OMNeT++ - deprecated, use Simu5G instead
https://simulte.omnetpp.org
Other
137 stars 110 forks source link

Error while building Simulte on omnet++ #29

Open Farhadesfandiar opened 5 years ago

Farhadesfandiar commented 5 years ago

Hello everyone, I'm using Omnet++5.4.1 and INET 4.0 on Ubuntu 18.04

When building Simulte, I will face with the below error:

make MODE=release all make[1]: Entering directory '/home/ali/omnetpp-5.4.1/samples/lte/src' apps/alert/AlertReceiver.cc In file included from apps/alert/AlertReceiver.cc:10:0: ./apps/alert/AlertReceiver.h:16:10: fatal error: inet/networklayer/common/L3AddressResolver.h: No such file or directory Makefile:283: recipe for target '../out/gcc-release/src/apps/alert/AlertReceiver.o' failed

include "inet/networklayer/common/L3AddressResolver.h"

make[1]: Leaving directory '/home/ali/omnetpp-5.4.1/samples/lte/src' ^~~~~~~~~~ Makefile:2: recipe for target 'all' failed compilation terminated. make[1]: [../out/gcc-release/src/apps/alert/AlertReceiver.o] Error 1 make: [all] Error 2

I tried one of INET examples before importing simulte and it was working well. Help for solving this error! Thank you in advance @rhornig

Farhadesfandiar commented 5 years ago

Hello everyone, I did solve the problem; so I'm writing here what I've passed during my simulator installation to hopefully helps others:

For those who are new in omnet (like me) and going to work with Simulte (or other extensions of Omnet), you should first check which version of Simulte you gonna work on it, and according to that you should choose your INET and OMNET++ versions, even your OS (which mine was ubuntu). Currently, the last released Ubuntu is 18.04 and Omnet 5.4.1 and Inet 4.0, but there is no Simulte version that is supported by these versions.(As I've searched) In my case; I installed Ubuntu16.04 LTS, Omnet++5.1, Inet 3.6 and Simulte-master

Through these links you can find the correspondent Simulte, INET and OMNET++ and Ubuntu: http://simulte.com/ https://github.com/inet-framework/inet https://github.com/inet-framework/simulte https://www.ubuntu.com/download

Best,

muujiie02bcu commented 5 years ago

Hello Farhadesfandiar Thank you for this information. I also got the same error while making Simulte master-branch. I have a working Omnet5.1 and inet3.6 in Ubuntu 16.04. simulte

I initially installed simulite version 0.9, but then I changed to simulte master-branch, but I am still getting the error, please could you provide me with more information on how to resolve the issue? I am also new to working with Omnet and Simulte. Did you build your simulte from command line or IDE?

Thank you

Farhadesfandiar commented 5 years ago

Hello, I just built my simulte through the IDE and it worked well.

Good luck