其他分享
首页 > 其他分享> > omnet问题

omnet问题

作者:互联网

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

标签:declared,package,NED,问题,Source,omnet,ned
来源: https://www.cnblogs.com/crescental/p/14791445.html