bindings and visualizer not enabled for ns3-3.33 on Linux CentOS

113 views
Skip to first unread message

Joe Pappas

unread,
Apr 17, 2023, 11:18:42 PM4/17/23
to ns-3-users
Hello,

I've had some problems with ns3 on Mac and so now am trying with a CentOS system. I have installed all of the necessary packages, but when I try to configure, I get the following output:

PyViz visualizer              : not enabled (Python Bindings are needed but not enabled)

Python Bindings               : not enabled (Python library or headers missing)


I received help before and was told to specify where my modules are installed by specifying in the command line using: 

-DPython3_LIBRARY_DIRS= 

-DPython3_INCLUDE_DIRS=  

-DPython3_EXECUTABLE=


but I get the same output. Any help on how to debug this?


Thanks,

Joe

Gabriel Ferreira

unread,
Apr 18, 2023, 11:14:09 PM4/18/23
to ns-3-users
Weird, I thought you were trying to use ns-3.38 with Cppyy bindings, but seems like I misread it.

ns-3.33 uses Pybindgen bindings, so you actually need to pip install pybindgen

Tommaso Pecorella

unread,
Apr 19, 2023, 5:34:55 AM4/19/23
to ns-3-users
Or upgrade to 3.38...

sabit Abera

unread,
Apr 19, 2023, 5:41:17 AM4/19/23
to ns-3-...@googlegroups.com
[1870/1926] Compiling scratch/vanet-load-balancing.cc
../scratch/vanet-load-balancing.cc:6:10: fatal error: ns3/aomdv-module.h: No such file or directory
    6 | #include "ns3/aomdv-module.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
i had faced with this problem

--
Posting to this group should follow these guidelines 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/0bc02dfc-b0a1-4bb7-8e29-a32e1073b247n%40googlegroups.com.

Tommaso Pecorella

unread,
Apr 19, 2023, 5:57:26 AM4/19/23
to ns-3-users
@ samikeef. Don't consider this rude please.
  1. The above message doesn't seems related to the thread (read the posting guidelines), and
  2. "aomdv" could be either a typo for aodv or a reference to the AOMDV protocol (a modification of AODV for multipath).
In the first case (typo), you shouldn't really need help to spot it and fix it.
In the second case you shouldn't really need try to use a protocol that is not implemented in ns-3. I mean, would you write code using a library (say boost library) without checking the manual, and just doing a best guess about what's the function name? That's a Hail Mary, at best.

There's a third case tho: that you did add a module (named aomdv) to ns-3, and that you're failing to compile and integrate it. And in this case your message is totally misleading (again, read the posting guidelines).
Reply all
Reply to author
Forward
0 new messages