当我使用“./waf”时,ndnSIM2.0 出现错误

ndnSIM2.0 appear error when I use "./waf"

参考:http://ndnsim.net/2.0/getting-started.html#compiling-and-running-ndnsim

我的步骤如下:

cd ndnSIM/ndn-cxx
./waf configure --boost-includes=/home/li/ndnSIM/boost_1_58_0 --boost-libs=/home/li/ndnSIM/boost_1_58_0/stage/lib
./waf

但是我用".waf"就不能成功,会出现红色错误,如:

Build failed
-> task in '../bin/tlvdump' failed (exit status 1): 
    {task 140364876652240: cxxprogram tlvdump.cpp.3.o -> tlvdump}
['/usr/bin/g++', 'tools/tlvdump.cpp.3.o', '-o', '/home/li/ndnSIM/ndn-cxx/build/bin/tlvdump', '-Wl,-Bstatic', '-L.', '-lndn-cxx', '-Wl,-Bdynamic', '-L/home/li/ndnSIM/boost_1_58_0/stage/lib', '-L/usr/lib', '-lboost_system', '-lboost_filesystem', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono', '-lboost_random', '-lcryptopp', '-lsqlite3', '-lrt', '-lpthread']
-> task in '../bin/ndncatchunks3' failed (exit status 1): 
    {task 140364876581200: cxxprogram ndncatchunks3.cpp.1.o -> ndncatchunks3}
['/usr/bin/g++', 'tools/ndncatchunks3.cpp.1.o', '-o', '/home/li/ndnSIM/ndn-cxx/build/bin/ndncatchunks3', '-Wl,-Bstatic', '-L.', '-lndn-cxx', '-Wl,-Bdynamic', '-L/home/li/ndnSIM/boost_1_58_0/stage/lib', '-L/usr/lib', '-lboost_system', '-lboost_filesystem', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono', '-lboost_random', '-lcryptopp', '-lsqlite3', '-lrt', '-lpthread']

我的os是Ubuntu14.04(64位)

好的,没有人回答我的问题,可能是因为一个简单的原因,因为我的gcc版本是5.1.0,ndnSIM2.0只需要以前的版本,比如4.8.2,重新编译boost ,一定会成功的。