error while 运行 例脉在安装的最后一步
Error while running example of the veins in the last step of the installation
根据本站教程(http://veins.car2x.org/tutorial/)使用操作系统windows10安装了静脉,但是在最后一步,执行omnetpp.ini代码编译的静脉示例,但在 qtnev 中执行时出现以下错误:
请帮助我
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
这是在 OMNeT++ 的最新版本中引入的,它不再允许将 double
参数隐式转换为整数值。
此问题也已报告 on the OMNeT++ mailing list。
如您所见,它已修复 in this commit。这可能会包含在下一个 Veins 版本中。在那之前,您可以按照邮件列表上给出的建议,使用存储库中的 Veins,或者甚至只在您拥有的源上应用单个相关补丁。
根据本站教程(http://veins.car2x.org/tutorial/)使用操作系统windows10安装了静脉,但是在最后一步,执行omnetpp.ini代码编译的静脉示例,但在 qtnev 中执行时出现以下错误: 请帮助我
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
这是在 OMNeT++ 的最新版本中引入的,它不再允许将 double
参数隐式转换为整数值。
此问题也已报告 on the OMNeT++ mailing list。
如您所见,它已修复 in this commit。这可能会包含在下一个 Veins 版本中。在那之前,您可以按照邮件列表上给出的建议,使用存储库中的 Veins,或者甚至只在您拥有的源上应用单个相关补丁。