首页 > Web开发 > 详细

omnet问题

时间:2021-05-20 21:54:47      阅读:28      评论:0      收藏:0      [点我收藏+]

1.omnet ned文件中首行出现错误

Multiple markers at this line

- cannot read /SimpleSchedule/Base/Source/PTSrc.ned
- declared package "" does not match expected package "Base.Source"
- 49 changed lines

解决办法:在首行声明ned文件路径

Directories in a NED source tree correspond to packages. If NED files are in the <root>/a/b/c directory (where <root> is listed in NED path)在properities中设置, then the package name is a.b.c. The package name has to be explicitly declared at the top of the NED files as well, like this:package a.b.c;

where <b> is listed in NED path,则声明 package c

omnet问题

原文:https://www.cnblogs.com/crescental/p/14791445.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!