tkn-tub / ns3-gym

ns3-gym - The Playground for Reinforcement Learning in Networking Research
GNU General Public License v2.0
521 stars 197 forks source link

fatal error: ns3/antenna-module.h: No such file or directory #41

Open mjk22071998 opened 3 years ago

mjk22071998 commented 3 years ago

After running the command ./build.py --enable-examples --enable-tests on Kali Linux I am getting the error

[2253/2895] Compiling build/src/antenna/bindings/ns3module.cc
In file included from src/antenna/bindings/ns3module.cc:1:
src/antenna/bindings/ns3module.h:41:10: fatal error: ns3/antenna-module.h: No such file or directory
   41 | #include "ns3/antenna-module.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Waf: Leaving directory `/home/pentester/ns3 simulator/ns-allinone-3.33/ns-3.33/build'
Build failed
 -> task in 'ns3module_antenna' failed with exit status 1 (run with -v to display more information)
Traceback (most recent call last):
  File "./build.py", line 175, in <module>
    sys.exit(main(sys.argv))
  File "./build.py", line 166, in main
    build_ns3(config, build_examples, build_tests, args, build_options)
  File "./build.py", line 86, in build_ns3
    run_command([sys.executable, "waf", "build"] + build_options)
  File "/home/pentester/ns3 simulator/ns-allinone-3.33/util.py", line 25, in run_command
    raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['/usr/bin/python3', 'waf', 'build'] exited with code 1
talhaibnaziz commented 3 years ago

I am getting the same error for Ubuntu 18.04 when installing with "./waf".

Edward2k commented 3 years ago

Same for me

lcharles123 commented 3 years ago

Same for me, ./build.py without args on Linux Mint 20 (Ubuntu Focal)

Rama3017Krishna commented 2 years ago

Yeah, Same for me but I am getting fatal error: ns3/core-module.h: No such file or directory when trying to compile a ns-3 file.