I am trying to run an example from the plexe-veins folder on my Mac OS High Sierra system, to my knowledge I have installed all necessary libs.
- The only problem I have is with installing the
omnetpp__0.7-1.tar.gzfile. Some research online leads me to believe the version of R on my computer is unable to compile the file since the file is an older version. I have tried installing older versions but failed because of compatibility issues with my OS. I am at a complete dead-end with regards to that. - When I run the platooning example, the GUI opens up of and I am able to run the simulation for a few seconds until I get the error:
(omnetpp::cDoubleParImpl)simulationDuration: Cannot cast from type double to integer -- in module (SimplePlatooningApp) scenario.node[0].appl (id=11), at t=1.01s, event #204 TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready? ./run: line 2: 90810 Trace/BPT trap: 5 ../../run "$@"
The version of omnet I installed is omnet++-5.4 and I also followed the procedure from the manual which includes the "./configure" and "make" commands. I run the example by entering the dir in question and run:
./run -u Cmdenv -c Sinusoidal -r 2
The part of OMNeT is a casting error. This is due to OMNeT++ 5.4 which changed some internals on parameters and therefore is simply to new for Plexe 2.0. You have to use an older version like OMNeT 5.0 or 5.1 as this is what Plexe 2.0 was built upon.
Also see these posts: