<div dir="ltr"><div><div>Hi Aaron,<br><br></div>I guess your problem is the pybindgen:<br>Checking for pybindgen version : <br>pybindgen (found ''), (need '0.17.0.post45+ng4806e4f')<br><br></div>You can take one from here: <br><pre>git clone <a href="https://github.com/named-data-ndnSIM/pybindgen.git">https://github.com/named-data-ndnSIM/pybindgen.git</a> pybindgen<br><span style="font-family:arial,helvetica,sans-serif"><br>And compile it as explained in README file.<br><br>Hope it helps,<br>Natalya</span><br></pre></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-30 13:12 GMT+01:00 Aaron <span dir="ltr"><<a href="mailto:aaronishere@qq.com" target="_blank">aaronishere@qq.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, all<br><br>The ndnSIM 2.1 is compiled successfully and can run examples without "--vis". However, if I type "--vis", error is occurred. Is it related to visualizer not built? How to fix it? <br>The Ubuntu 14.04 is used. <br><br>Modules not built (see ns-3 tutorial for explanation):<br>brite click openflow <br>visualizer <br><br>root@Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple <br>Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build'<br>Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build'<br>Build commands will be stored in build/compile_commands.json<br>'build' finished successfully (1.049s)<br><br>root@Aaron:/home/NDNSIM/ndnSIM-2.1/ns-3# ./waf --run=ndn-simple --vis<br>Waf: Entering directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build'<br>Waf: Leaving directory `/home/NDNSIM/ndnSIM-2.1/ns-3/build'<br>Build commands will be stored in build/compile_commands.json<br>'build' finished successfully (1.044s)<br>assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, line=755<br>terminate called without an active exception<br>Command ['/home/NDNSIM/ndnSIM-2.1/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").<br><br><br><br>Setting top to : /home/NDNSIM/ndnSIM-2.1/ns-3 <br>Setting out to : /home/NDNSIM/ndnSIM-2.1/ns-3/build <br>Checking for 'gcc' (C compiler) : /usr/bin/gcc <br>Checking for cc version : 4.9.1 <br>Checking for 'g++' (C++ compiler) : /usr/bin/g++ <br>Checking supported compiler CXXFLAGS : -std=c++0x -std=c++11 <br>Checking supported optimizations CXXFLAGS : -O0 <br>Checking supported debug CXXFLAGS : -ggdb -g3 <br>Checking supported warnings CXXFLAGS : -Wall -Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing <br>Checking for compilation flag -Wl,--soname=foo... support : ok <br>Checking for program 'python' : /usr/bin/python <br>Checking for python version : (2, 7, 9, 'final', 0) <br>python-config : /usr/bin/python-config <br>Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes <br>Getting pyembed flags from python-config : yes <br>Asking python-config for pyext '--cflags --libs --ldflags' flags : yes <br>Getting pyext flags from python-config : yes <br>Checking for compilation flag -fvisibility=hidden... support : ok <br>Checking for compilation flag -Wno-array-bounds... support : ok <br>Checking for pybindgen location : ../pybindgen (guessed) <br>Checking for python module 'pybindgen' : ok <br>Traceback (most recent call last):<br> File "setup.py", line 2, in <module><br> from setuptools import setup<br>ImportError: No module named setuptools<br>Checking for pybindgen version : <br>pybindgen (found ''), (need '0.17.0.post45+ng4806e4f')<br>Checking boost includes : 1_55 <br>Checking boost libs : ok <br>Checking for boost linkage : ok <br>Checking for click location : not found <br>Checking for program 'pkg-config' : /usr/bin/pkg-config <br>Checking for 'gtk+-2.0' >= 2.12 : not found <br>Checking for 'libxml-2.0' >= 2.7 : yes <br>Checking for type uint128_t : not found <br>Checking for type __uint128_t : yes <br>Checking high precision implementation : 128-bit integer (default) <br>Checking for header stdint.h : yes <br>Checking for header inttypes.h : yes <br>Checking for header sys/inttypes.h : not found <br>Checking for header sys/types.h : yes <br>Checking for header sys/stat.h : yes <br>Checking for header dirent.h : yes <br>Checking for header stdlib.h : yes <br>Checking for header signal.h : yes <br>Checking for header pthread.h : yes <br>Checking for header stdint.h : yes <br>Checking for header inttypes.h : yes <br>Checking for header sys/inttypes.h : not found <br>Checking for library rt : yes <br>Checking for header sys/ioctl.h : yes <br>Checking for header net/if.h : yes <br>Checking for header net/ethernet.h : yes <br>Checking for header linux/if_tun.h : yes <br>Checking for header netpacket/packet.h : yes <br>Checking for NSC location : not found <br>Checking for program 'doxygen' : not found <br>Checking for program 'tar' : /bin/tar <br>Checking for program 'sphinx-build' : not found <br>Checking for std::is_default_constructible : yes <br>Checking for std::is_nothrow_move_constructible : yes <br>Checking for std::is_nothrow_move_assignable : yes <br>Checking for friend typename-specifier : yes <br>Checking for override and final specifiers : yes <br>Checking for std::vector::insert with const_iterators : yes <br>Checking for library pthread : yes <br>Checking for 'sqlite3' : yes <br>Checking Crypto++ lib : 561 <br>Checking if CryptoPP library works : yes <br>Checking for OpenFlow location : not found <br>Checking for 'sqlite3' : yes <br>Checking for header linux/if_tun.h : yes <br>Checking for program 'sudo' : /usr/bin/sudo <br>Checking for program 'valgrind' : not found <br>Checking for 'gsl' : not found <br>Checking for program 'doxygen' : not found <br>---- Summary of optional NS-3 features:<br>Build profile : debug<br>Build directory : <br>Python Bindings : not enabled (PyBindGen version not correct and newer version could not be retrieved)<br>BRITE Integration : not enabled (BRITE not enabled (see option --with-brite))<br>NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick))<br>GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found)<br>XmlIo : enabled<br>Threading Primitives : enabled<br>Real Time Simulator : enabled<br>File descriptor NetDevice : enabled<br>Tap FdNetDevice : enabled<br>Emulation FdNetDevice : enabled<br>PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab))<br>Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc))<br>MPI Support : not enabled (option --enable-mpi not selected)<br>ndnSIM : enabled<br>NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow))<br>SQlite stats data output : enabled<br>Tap Bridge : enabled<br>PyViz visualizer : not enabled (Python Bindings are needed but not enabled)<br>Use sudo to set suid bit : not enabled (option --enable-sudo not selected)<br>Build tests : not enabled (defaults to disabled)<br>Build examples : enabled<br>GNU Scientific Library (GSL) : not enabled (GSL not found)<br><br><br>Thanks,<br><br>Regards,<br><br>Aaron<br><br><br>_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br></div>