omnet 5.0,veins 4.4,Mvstudio2008,sumo 0.25

75 views
Skip to first unread message

Hanadi Darwisho

unread,
Mar 13, 2022, 5:24:17 PM3/13/22
to OMNeT++ Users
I have question : 
I unpacked omnet 5.0 and in configure.user : line prefer-clang=no or prefer -clang =yes  and execute ./configure and then make ...the output gcc-release,gcc-debug, My microsoft visual studio version is ms 2008
Do I must be installed high version for example 2010 0r high or change omnet version ?? because my simulation files don't give errors when I am executing build for my project ,but when I arrive to my simulation sumo interface and choose one section from my simulation ,it gives the following message that belongs xml files  : 
<!> Error in module (Veins::TraCIScenarioManagerLaunchd) VANET.manager (id=6) during network setup: While evaluating parameter `launchConfig': Error reading `F:/omnetpp-5.0/UV-CAST-protocol/simulations/_maps/downtownorlando/downtownorlando50_1.launchd.xml': Parse error: failed to load external entity "F:/omnetpp-5.0/UV-CAST-protocol/simulations/_maps/downtownorlando/downtownorlando50_1.launchd.xml"
 at line (null):0.
my veins is veins 4.4 , my sumo is sumo 0.25 .
 this line in omnet.ini file is 
*.manager.launchConfig = xmldoc("F:/omnetpp-5.0/UV-CAST-protocol/simulations/_maps/downtownorlando/downtownorlando"+ string(${Traffic=50, 100, 150, 200, 250, 300})+ "_" + string(${repetition}) + ".launchd.xml")
I want to help me anyone for knowing the reasons .
note
I unpacked omnet 5.6.2 andmodify in configure.user : line prefer-clang=no  and execute ./configure and then make ...the output gcc-release,gcc-debug, but prefer-clang=yes ...the output clang-release,clang-debug
My microsoft visual studio version is ms 2008 . i can 't execute the simulation in omnet 5.6.2 and veins 5.2 because I  work in veins 4.4
1.jpg
2.jpg

Hanadi Darwisho

unread,
Mar 27, 2022, 3:58:50 AM3/27/22
to omn...@googlegroups.com
 installed codeBlocks that contains within path :"C:\Program Files\CodeBlocks\MinGW\bin" all applications that belong gcc,g++,x86_64-w64-mingw32-c++,mingw32-make,x86_64-w64-mingw32-gcc,x86_64-w64-mingw32-g++...........What are the code fragments to be inserted when I execute make make of src from my simulation properties when using omnet 5.0 version or previous version ? from omnet 5.0 properities :models are compiled as C++11 sources .this means that codeblocks is helpless with omnet5.0 because supports clang not gcc .must be installed visual studio code or visual studio c++ 2010 or high . 
 I know following code fragments are added when makemake of src :## Use the new message compiler introduced in OMNeT++ 5.3 # MSGC:=$(MSGC) --msg6 ifeq ($(PLATFORM),win32.x86_64) # # on windows we have to link with the ws2_32 (winsock2) library as it is no longer added # to the omnetpp system libraries by default (as of OMNeT++ 5.1) # LIBS += -lws2_32 DEFINES += -DINET_EXPORT ENABLE_AUTO_IMPORT=-Wl,--enable-auto-import LDFLAGS := $(filter-out $(ENABLE_AUTO_IMPORT), $(LDFLAGS)) endif but tested it with omnet 5.6.2 /work correctly because supports prefer gcc over clang or opposite.
1.jpg
2.jpg
Reply all
Reply to author
Forward
0 new messages