waf file not found in ns-3.42 folder

299 views
Skip to first unread message

anonymous mello

unread,
Aug 5, 2024, 3:51:35 PM8/5/24
to ns-3-users
i installed ns3 by following steps
$ wget https://www.nsnam.org/release/ns-allinone-3.42.tar.bz2
$ tar xjf ns-allinone-3.42.tar.bz2
$ cd ns-allinone-3.42
$ python3 download.py -n ns-3.42

after doing this i couldn't see the waf file in the ns-3.42 folder

i have tried building it and i still couldn't find the waf file in the ns-3.42 folder
i've spent around 5-6 hours trying to install ns3 :(

any suggestion would be appreciated

Tom Henderson

unread,
Aug 5, 2024, 4:53:45 PM8/5/24
to ns-3-...@googlegroups.com
Waf is no longer used in ns-3; the build system is CMake-based, but
there is a Python program called 'ns3' that provides a Waf-like experience.

Please read the installation guide or the tutorial for ns-3.42 version
(not older versions).

https://www.nsnam.org/releases/ns-3-42/documentation/
> --
> Posting to this group should follow these guidelines
> https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> <https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting>
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ns-3-users+...@googlegroups.com
> <mailto:ns-3-users+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ns-3-users/13d6bf9a-8450-48a0-9b22-f721f0659918n%40googlegroups.com <https://groups.google.com/d/msgid/ns-3-users/13d6bf9a-8450-48a0-9b22-f721f0659918n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Message has been deleted

Ramadhan Rajab (ramamr33)

unread,
Aug 9, 2024, 12:40:04 PM8/9/24
to ns-3-users
I need help to configure ns-3.42 on Eclipse IDE.
Might there be anyone who can assist me on this please?
Message has been deleted

Tommaso Pecorella

unread,
Aug 9, 2024, 12:49:30 PM8/9/24
to ns-3-users
That happens to my students a LOT: having a given version of the software (any software) and looking at the documentation for a different version.
Needless to say I scold them, and even if I can't take points out for being absent-minded, I'm not pleased (i.e., less keen on let other little mistakes pass unnoticed).
I mean... it's common sense. You *always* check the version number. Even the guy that fixes my bike knows it. "Hey bro, I need new tiers for my bike.". "Sure, I need the bike manufacturer, the model, AND THE YEAR of production" - because things change over time.


3.42 uses cmake, not waf. Just install a plugin that handles cmake and it will find everything, but I have no idea about Eclipse because I happily did trash it years ago.
If you're wondering, I'm using https://vscodium.com

Ramadhan Rajab (ramamr33)

unread,
Aug 9, 2024, 6:06:24 PM8/9/24
to ns-3-users
./waf is no longer in use on ns-3.42.

It has been replaced with ./ns3 which is located inside the folder.

Reply all
Reply to author
Forward
0 new messages