opp_run error on omnetpp IDE

大兔子大兔子 提交于 2019-12-11 18:09:38

问题


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.

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.

Best regards.


回答1:


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.

Julian Heinovski

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.



来源:https://stackoverflow.com/questions/50458336/opp-run-error-on-omnetpp-ide

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