Task #4214
closedCompiling failure of NLSR
0%
Description
Hello, I am a beginner of NDN.
I encountered an error while compiling NLSR.
I installed the ndn-cxx library and ChronoSync successfully on Jul. 31, 2017.
However, while compiling NLSR, I got the following error:
[ 4/44] Compiling src/update/nfd-rib-commands.cpp
In file included from ../src/adjacency-list.hpp:29:0,
from ../src/nlsr.hpp:40,
from ../src/nlsr-runner.hpp:25,
from ../src/main.cpp:22:
../src/adjacent.hpp:25:37: fatal error: ndn-cxx/util/face-uri.hpp: No such file or directory
compilation terminated.
Waf: Leaving directory /home/crystal/NLSR/build'
Build failed
-> task in 'bin/nlsr' failed (exit status 1):
{task 140563343511120: cxx main.cpp -> main.cpp.3.o}
['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-I/home/crystal/NLSR/build', '-I/home/crystal/NLSR', '-I/home/crystal/NLSR/build/src', '-I/home/crystal/NLSR/src', '-I/usr/local/include', '-I/usr/include', '-I/usr/local/include/ChronoSync', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '-DHAVE_LOG4CXX=1', '-DHAVE_SYNC=1', '../src/main.cpp', '-c', '-o', '/home/crystal/NLSR/build/src/main.cpp.3.o']
The latest version of ndn-cxx library has already removed face-uri.hpp.
However, NLSR still uses face-uri.hpp.
Is there any solution?
Thanks for your help in advance!
Updated by Ashlesh Gawande almost 7 years ago
NLSR compilation is broken against the main ndn-cxx repo and will be for a while (see: https://redmine.named-data.net/issues/3964).
Please use the following commits for successful compilation and execution:
ndn-cxx: b555b00c280b9c9ed46f24a1fbebc73b720601af
NFD: f4056d0242536f85b7d7b4de1b5ac50dad65c233
ChronoSync: 097bb448f46b8bd9a5c1f431e824f8f6a169b650
Updated by KuanChu Chen almost 7 years ago
Ashlesh Gawande wrote:
NLSR compilation is broken against the main ndn-cxx repo and will be for a while (see: https://redmine.named-data.net/issues/3964).
Please use the following commits for successful compilation and execution:
ndn-cxx: b555b00c280b9c9ed46f24a1fbebc73b720601af
NFD: f4056d0242536f85b7d7b4de1b5ac50dad65c233
ChronoSync: 097bb448f46b8bd9a5c1f431e824f8f6a169b650
Thank you for your help!
The compilation of NLSR goes well.