signetlabdei/lorawan

bash: ./waf: No such file or directory

Junaid-Qadir-UniGe opened this issue · 5 comments

Hi,

I am compiling this repository, however, it gives me the following error given below. Can someone please help me out?
bash: ./waf: No such file or directory

image

The "waf" script was replaced by the "ns3" one in the newer versions of ns3 I believe. This command ought to work for configuring for your version:
./ns3 configure --enable-tests --enable-examples

However, this module was designed for ns3.29 according to the "NS3-VERSION" file in the repository and I'm not certain if it'll work, so I would recommend you try to install ns3.29 if compiling the repository on the version you're running fails.

@sanjay-charran Thank you so much, you are right. I then tried with ./ns3 configure --enable-tests --enable-examples and compiled successfully.
Thanks again

The test was passed but when i run the example this error comes.. i am using ./ns3 instead of waf script
Screenshot from 2023-09-01 10-17-32

@usamamustafa36 I believe it should be ./ns3 run [example-name]

https://www.nsnam.org/docs/tutorial/html/quick-start.html

Updated the README to reflect the build system changes.