inet-framework / simulte

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

No compatibility: simulte and INET v2.2 #1

Closed c-steindl closed 11 years ago

c-steindl commented 11 years ago

The INSTALL.md of simulte guarantees compatibility with all versions of INET-Framework installation (v2.1+). I tried INET v2.2 with Omnet++ v4.3 and this combination didn't work for me. During the make-process of simulte some resources of INET-framework could not be found.

kruviser commented 11 years ago

Did you you try it with the latest SimuLTE version (the latest commit)? The examples should be compatible with the INET 2.2

Can you please tell me which resources are missing?

c-steindl commented 11 years ago

I tried it with the last version of SimuLTE (rev. 48) and the version of INET 2.2 from your website (http://omnetpp.org/download/contrib/models/inet-2.2.0-src.tgz). The make-process tries to find the resources at a wrong location. The command starts with "../../", but "../" should be working fine. I have as well INET as well SimuLTE installed into the samples folder of Omnet++. Using INET 2.1 instead works fine. See the logs I have created during "make makefiles" and "make" for further information.

$ make makefiles

cd src && opp_makemake -f --deep --make-so -o simulte -O out -I$\(INET_PROJ\)/src/networklayer/common -I$\(INET_PROJ\)/src -I$\(INET_PROJ\)/src/world/obstacles -I$\(INET_PROJ\)/src/mobility/models -I$\(INET_PROJ\)/src/networklayer/contract -I$\(INET_PROJ\)/src/mobility -I$\(INET_PROJ\)/src/util -I$\(INET_PROJ\)/src/transport/contract -I$\(INET_PROJ\)/src/linklayer/radio/propagation -I$\(INET_PROJ\)/src/world/powercontrol -I$\(INET_PROJ\)/src/linklayer/radio -I$\(INET_PROJ\)/src/util/headerserializers/tcp -I$\(INET_PROJ\)/src/networklayer/ipv4 -I$\(INET_PROJ\)/src/util/headerserializers/ipv4 -I$\(INET_PROJ\)/src/base -I$\(INET_PROJ\)/src/util/headerserializers -I$\(INET_PROJ\)/src/world/radio -I$\(INET_PROJ\)/src/util/headerserializers/udp -I$\(INET_PROJ\)/src/battery/models -I$\(INET_PROJ\)/src/applications/pingapp -I$\(INET_PROJ\)/src/linklayer/contract -I$\(INET_PROJ\)/src/transport/tcp_common -I$\(INET_PROJ\)/src/networklayer/arp -I$\(INET_PROJ\)/src/transport/udp -I$\(INET_PROJ\)/src/applications/udpapp -L$\(INET_PROJ\)/out/$\(CONFIGNAME\)/src -linet -DINET_IMPORT -KINET_PROJ=../../inet
Creating Makefile in /home/christoph/omnet2/omnetpp-4.3/samples/simulte2/src...
Makefile created, running "make depend" to add dependencies...
make[1]: Entering directory `/home/christoph/omnet2/omnetpp-4.3/samples/simulte2/src'
Creating dependencies...
make[1]: Leaving directory `/home/christoph/omnet2/omnetpp-4.3/samples/simulte2/src'
$ make

cd src && make
make[1]: Entering directory `/home/christoph/omnet2/omnetpp-4.3/samples/simulte2/src'
apps/gaming/Gaming.cc
In file included from apps/gaming/Gaming.h:18:0,
                 from apps/gaming/Gaming.cc:12:
../../inet/src/applications/udpapp/UDPBasicApp.h:27:21: schwerwiegender Fehler: AppBase.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make[1]: *** [../out/gcc-debug//src/apps/gaming/Gaming.o] Fehler 1
make[1]: Leaving directory `/home/christoph/omnet2/omnetpp-4.3/samples/simulte2/src'
make: *** [all] Fehler 2
kruviser commented 11 years ago

Ok, I'm trying to reproduce your error.

Anyway, normally that error happens when you compile simuLTE BEFORE inet. Have you tried building simuLTE AFTER building INET 2.2 ?

c-steindl commented 11 years ago

Oh yeah of course I did. After extracting all files to their directories I basically did (in this order): For OMNet++ 4.3:

. setenv
./configure
make

For INET 2.2:

make makefiles
make

For SimuLTE:

make makefiles
make
kruviser commented 11 years ago

Ok, there are some issues when building both SimuLTE and INET 2.2 via command line.

Anyway if you add them to the same work space and build them via IDE it should work fine.

kruviser commented 11 years ago

The issue should have been solved with the last commits, can you please check if it works?

c-steindl commented 11 years ago

Yeah now it works. Only some warnings occured but no errors anymore!

Saad123 commented 10 years ago

has any one of you guys have tried simulating http traffic in simulte ?? or rtp traffic