简体   繁体   English

OMNET++:无法将开放流扩展导入静脉

[英]OMNET++:cannot import openflow extension into veins

i want to import openflow extension into veins, when i run openflow simulation it works correctly, but when start veins simulation I receive the error:我想将 openflow 扩展导入静脉,当我运行 openflow 模拟时它可以正常工作,但是当开始静脉模拟时我收到错误:

Class "Flow_Table" not found -- perhaps its code was not linked in, or the class wasn't registered with Register_Class(), or in the case of modules and channels, with Define_Module()/Define_Channel().

在此处输入图片说明

Your simulation will need to load the libraries (on Windows: .dll files, on Linux: .so files) which contain the simulation modules you are using.您的模拟将需要加载包含您正在使用的模拟模块的库(在 Windows 上: .dll文件,在 Linux 上: .so文件)。

Check the command line used to run your simulation (likely it starts with opp_run ).检查用于运行模拟的命令行(可能以opp_run )。 If it does not contain a -l switch for the OpenFlow simulation library, you will not be able to create its modules in your simulation.如果它不包含 OpenFlow 模拟库的-l开关,您将无法在模拟中创建其模块。

If you use the OMNeT++ IDE to start your simulation, look at the very top of the Console window to see which command line parameters were used.如果您使用 OMNeT++ IDE 开始模拟,请查看控制台窗口的最顶部以查看使用了哪些命令行参数。 For example, in the following screenshot you can see that only -l ../../src/veins is specified;例如,在下面的屏幕截图中,您可以看到仅指定了-l ../../src/veins thus, only modules from libveins.so are loaded.因此,只加载来自libveins.so模块。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM