Rakshitha
Rakshitha

Reputation: 1

./waf: No such file or directory in NS3

~/ns-allinone-3.37/ns-3.37$ ./waf --run hello-simulator
bash: ./waf: No such file or directory

How can I fix this problem? All build.py results were successful.

$ ./waf --run hello-simulator should provide an output such as:

'build' finished successfully
Hello Simulator

Upvotes: 0

Views: 362

Answers (1)

Gabriel
Gabriel

Reputation: 136

Since ns-3.36, ns-3 has replaced Waf with CMake. https://www.nsnam.org/releases/ns-3-36/

You should now run the following to get the result you want.

./ns3 run hello-simulator

Upvotes: 2

Related Questions