chsm19
chsm19

Reputation: 25

How to fix this error while trying to build a ns3 simulation?

I have a simulation called adhoc-simulation.cc in a folder called scratch so it should be running fine, however when I build it using this command sudo ./waf --run adhoc-simulation in the ns-3.33 folder I get this error:

FileNotFoundError: [Errno 2] No such file or directory: '/home/*/ns-3-allinone/ns-3.33/build/ns3/yans-wifi-helper.h'

Upvotes: 1

Views: 2117

Answers (1)

Nithesh B
Nithesh B

Reputation: 11

I got the same error using latest version of ns3,I used ./ns3 run filename command,it worked for me.

Upvotes: 1

Related Questions