如何在尝试构建ns3模拟时修复此错误



我有一个名为adhoc-simulation.cc的模拟,位于名为scratch的文件夹中,所以它应该运行良好,但当我在ns-3.33文件夹中使用此命令sudo ./waf --run adhoc-simulation构建它时,我会收到以下错误:

FileNotFoundError: [Errno 2] No such file or directory: '/home/*/ns-3-allinone/ns-3.33/build/ns3/yans-wifi-helper.h'

我在使用最新版本的ns3时遇到了同样的错误,我使用了/ns3运行filename命令,它对我有效。

最新更新