omnetpp IDE上的opp_run错误 [英] opp_run error on omnetpp IDE
问题描述
我目前正在静脉项目上,直到今天一切都很好. 我需要在'静脉/src/静脉/模块'目录中添加一个新模块,因此我只创建了一个新文件夹,并在其中放置了一些.ned文件和相对头文件/源文件.这样做之后我得到了一些错误,但没什么特别的(我可能做错了一些,编译器不喜欢它).然后,我决定删除该文件夹,然后在第二天再试一次.
I'm working on a veins project at the moment and everything went fine till today. I had the need to add a new module to the ' veins/src/veins/modules ' directory so I simply created a new folder and put some .ned files and relative header/source files in there. I got some errors after doing that but nothing special (I was probably doing something wrong and compiler didn't like it). I then decided to delete the folder and try again maybe the day after.
这样做之后,我重新运行相同的精确模拟,并且omnet/IDE开始显示此信息,但无法启动:
After doing so I re-run the same exact simulation and omnet/IDE started showing this, not being able to launch:
<!> Error: Cannot load library '../../src//libveins.so': ../../src//libveins.so: undefined symbol: _ZN8Flooding6finishEv
End.
Simulation terminated with exit code: 1
我尝试过一次新鲜的清洁工作,并重建了整个静脉项目,但这没有帮助. 我搜索了此错误,但找不到与我的情况类似的任何内容. 预先感谢您的帮助.
I've tryed a fresh clean and rebuilt the whole veins project but that didn't help. I googled this error but couldn't find anything similiar to my case. Thanks in advance for your help.
最诚挚的问候.
推荐答案
c ++ filt _ZN8Flooding6finishEv显示缺少的符号是 Flooding :: finish().看来您对此有减速 方法,但缺少相应的实现.我以为你 该模块称为洪水",当您将其删除时,并没有全部删除 重新开始.
c++filt _ZN8Flooding6finishEv shows that the missing symbol is Flooding::finish(). It seems that you have a deceleration of this method but missing a corresponding implementation. I'd assume your module was called Flooding and you did not delete all of it when starting over.
在Windows上运行相同的配置表明确实没有实现Flooding :: finish()(这可能是因为它在Windows上已自动解除了纠缠).我只是删除了声明,解决了我的一点注意力.
Running the same configuration on Windows showed that it was indeed Flooding::finish() not implemented (that's probably because it's automatically demangled on Windows). I just deleted the declaration and solved my little inattention.
这篇关于omnetpp IDE上的opp_run错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!