./waf: NS3 中没有这样的文件或目录

问题描述 投票:0回答:1
~/ns-allinone-3.37/ns-3.37$ ./waf --run hello-simulator
bash: ./waf: No such file or directory

如何解决这个问题? 所有 build.py 结果均成功。

$ ./waf --run hello-simulator 
应提供如下输出:

'build' finished successfully Hello Simulator
    
linux simulation ns-3
1个回答
0
投票
从 ns-3.36 开始,ns-3 已用 CMake 取代了 Waf。

https://www.nsnam.org/releases/ns-3-36/

您现在应该运行以下命令以获得您想要的结果。

./ns3 run hello-simulator
    
© www.soinside.com 2019 - 2024. All rights reserved.