High-Precision-Congestion-Control
High-Precision-Congestion-Control copied to clipboard
error: ‘TimeChecker’ in namespace ‘ns3’ does not name a type
In file included from src/uan/bindings/ns3module.cc:1:0: src/uan/bindings/ns3module.h:1514:10: error: ‘TimeChecker’ in namespace ‘ns3’ does not name a type ns3::TimeChecker *obj; ^ Waf: Leaving directory `/home/jan/High-Precision-Congestion-Control-master/simulation/build' Build failed -> task in 'ns3module_uan' failed (exit status 1): {task 140439915395472: cxx ns3module.cc -> ns3module.cc.7.o} ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-std=gnu++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector-strong', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector-strong', '-fno-strict-aliasing', '-fvisibility=hidden', '-Wno-array-bounds', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector-strong', '-fno-strict-aliasing', '-I.', '-I..', '-Isrc/uan/bindings', '-I../src/uan/bindings', '-I/usr/include/python2.7', '-I/usr/include/x86_64-linux-gnu/python2.7', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', 'src/uan/bindings/ns3module.cc', '-c', '-o', 'src/uan/bindings/ns3module.cc.7.o']
运行examples的时候一直报这个错误
我也遇到这个问题了,请问解决了嘛?如何解决?