Error while running example of the veins in the last step of the installation

試著忘記壹切 提交于 2020-01-20 09:32:30

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!