问题
did the installation of the veins according to the tutorial of the site (http://veins.car2x.org/tutorial/) using the operating system windows 10, but in the last step, when executing the omnetpp.ini of the example of the veins the code compiles but the execution in qtnev gives the following error: Help me please
Cannot evaluate parameter ‘headerLength’: (omnetpp::cDoubleParlmpl)headerLength: Cannot cast from type double to integer – in module (Mac1609_4) RSUExampleScenario.rsu[0].nic.mac1609_4 (id=12), during network initialization
回答1:
This was introduced in a recent version of OMNeT++, which no longer allows implicit conversion of double
parameters to integer values.
This issue has also been reported on the OMNeT++ mailing list.
As you can see, it was fixed in this commit. This might be included in the next Veins release. Until then, you can follow the advice given on the mailing list, and use Veins from the repository, or even just apply the single related patch on the sources you have.
来源:https://stackoverflow.com/questions/49967052/error-while-running-example-of-the-veins-in-the-last-step-of-the-installation