<div dir="ltr"><div><div><div>Hi all,<br></div>I  have installed the ndnSIM 2.1  according to the guide during the "Getting Started".  I can run the examples sucecssfully. <br><br></div>Then I copy the example "ndn-simple.cpp" into "/ndnSIM2.1/scenario/scenarios" and rename it as "my-simple.cpp". After I run "./waf --run=my-simple", I get the following error:<br><br>Waf: Entering directory `/home/gsxlh/ndnSIM2.1/scenario/build'<br>[2/2] Linking build/my-simple<br>/usr/bin/ld: warning: libboost_thread.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_thread.so.1.57.0<br>/usr/bin/ld: warning: libboost_system.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_system.so.1.57.0<br>/usr/bin/ld: warning: libboost_random.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_random.so.1.57.0<br>/usr/bin/ld: warning: libboost_regex.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_regex.so.1.57.0<br>/usr/bin/ld: warning: libboost_chrono.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_chrono.so.1.57.0<br>/usr/bin/ld: warning: libboost_filesystem.so.1.54.0, needed by /usr/local/lib/libns3-dev-ndnSIM-optimized.so, may conflict with libboost_filesystem.so.1.57.0<br>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::LogComponent::LogComponent(std::string const&, ns3::LogLevel)'<br>collect2: error: ld returned 1 exit status<br><br>Waf: Leaving directory `/home/gsxlh/ndnSIM2.1/scenario/build'<br>Build failed<br> -> task in 'my-simple' failed (exit status 1): <br>    {task 3067429772L: cxxprogram my-simple.cpp.2.o -> my-simple}<br>['/usr/bin/g++', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic', '-pthread', '-Wl,-Bdynamic' ......<br><br><br></div>Can you help me fix this error?<br></div>