【发布时间】:2010-12-08 08:28:24
【问题描述】:
嗨 我正在 omnet 中编写一个项目,但我坚持定义自己的模块。在https://github.com/lbedogni/Basic-Broadcast-Simulation 上有完整的代码。问题是我收到以下错误消息:
<!> Error in module (cCompoundModule) scenario.host[0] (id=4) at event
\#1, t=0: Class "basic::Flooding" 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().
但我是通过Define_Module() 定义的。
我认为这可能是与包装相关的问题,但没有找到解决方案。有什么想法吗?
谢谢
【问题讨论】:
标签: c++ packages simulation