简体   繁体   中英

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'

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM