Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mjk22071998 opened this issue Feb 14, 2021 · 4 comments
Open

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

mjk22071998 opened this issue Feb 14, 2021 · 4 comments

Comments

@mjk22071998
Copy link

mjk22071998 commented Feb 14, 2021

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
Copy link

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

@Edward2k
Copy link

Same for me

@lcharles123
Copy link

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

@Rama3017Krishna
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants