NS3 bash: ./waf: No such file or directory error

charlie@charlie:~/Desktop/ns-allinone-3.36.1/ns-3.36.1$ ls
AUTHORS build-support CMakeLists.txt doc ns3 scratch testpy.supp VERSION
bindings CHANGES.md contrib examples README.md src utils
build cmake-cache CONTRIBUTING.md LICENSE RELEASE_NOTES.md test.py utils.py
charlie@charlie:~/Desktop/ns-allinone-3.36.1/ns-3.36.1$ ./waf
bash: ./waf: No such file or directory

Could someone help me out to understand why waf module is not installed in my directory?

6

2 Answers

waf build system was removed in version ns-3.36:

It is replaced by ns3 script which is a Python script providing an interface similar to waf. Most common commands such as ./waf configure and ./waf build are replaced with almost identical ./ns3 configure, ./ns3 build etc. Internally, however, CMake build system is used.

You can see the merge request which introduced the change here:

1

Try using the ./ns3 command instead of ./waf

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like