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.gz
file. 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