opp_run omnetpp 错误 IDE
opp_run error on omnetpp IDE
我目前正在做一个静脉项目,直到今天一切都很顺利。
我需要向“veins/src/veins/modules”目录添加一个新模块,所以我只是创建了一个新文件夹并将一些 .ned 文件和相关的 header/source 文件放在那里。这样做之后我遇到了一些错误,但没什么特别的(我可能做错了什么,编译器不喜欢它)。然后我决定删除该文件夹,也许隔天再试一次。
这样做之后我重新运行完全相同的模拟并且omnet/IDE开始显示这个,无法启动:
<!> Error: Cannot load library '../../src//libveins.so': ../../src//libveins.so: undefined symbol: _ZN8Flooding6finishEv
End.
Simulation terminated with exit code: 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
运行 Windows 上的相同配置表明它确实 Flooding::finish() 未实现(这可能是因为它在 Windows 上自动删除)。刚把声明删了,解决了我的小疏忽
我目前正在做一个静脉项目,直到今天一切都很顺利。 我需要向“veins/src/veins/modules”目录添加一个新模块,所以我只是创建了一个新文件夹并将一些 .ned 文件和相关的 header/source 文件放在那里。这样做之后我遇到了一些错误,但没什么特别的(我可能做错了什么,编译器不喜欢它)。然后我决定删除该文件夹,也许隔天再试一次。
这样做之后我重新运行完全相同的模拟并且omnet/IDE开始显示这个,无法启动:
<!> Error: Cannot load library '../../src//libveins.so': ../../src//libveins.so: undefined symbol: _ZN8Flooding6finishEv
End.
Simulation terminated with exit code: 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
运行 Windows 上的相同配置表明它确实 Flooding::finish() 未实现(这可能是因为它在 Windows 上自动删除)。刚把声明删了,解决了我的小疏忽