在run configuration的时候出现如下错误:
<!> Error in module (cCompoundModule) csma802454net (id=1) during network setup: Class "ChannelControl" 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().
发现网上也有不少人提问这个问题,但是没有人回答,求大神指点,哪里出错了,怎么修改。
我也来看看处理的结果
遇到同样的问题,ChannelControl头文件在INET中,不知道你安装INET没有,如果没有装,可以装完INET再试试,我装完INET还是出现找不到ChannelControl的问题,不知道还有哪里有问题
在ned文件中添加@class属性,如:@class(me::ChannelControl);
me为编写的命名空间