<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I installed the boost library as described in the <a href="http://ndnsim.net/faq.html#installing-boost-libraries">http://ndnsim.net/faq.html#installing-boost-libraries</a>. <br>
<br></div>After this, configuration of the ns-3 was successful using the command:<br><br><pre style="margin-left:40px">./waf configure --boost-includes<span class="">=</span>/usr/local/include --boost-libs<span class="">=</span>/usr/local/lib --enable-examples<br>
</pre><pre></pre>However, after compilation using ./waf it fails with the following error  message. <br><br><div style="margin-left:40px">vm1@ubuntu:~/wsn/ndnSIM/ns-3$ ./waf<br>Waf: Entering directory `/home/vm1/wsn/ndnSIM/ns-3/build'<br>
[1029/2442] cxx: examples/ndnSIM-sample-topologies/scenarios/rocketfuel-maps-cch-to-annotaded.cc -> build/examples/ndnSIM-sample-topologies/scenarios/rocketfuel-maps-cch-to-annotaded.cc.3.o<br>.<b>./examples/ndnSIM-sample-topologies/scenarios/rocketfuel-maps-cch-to-annotaded.cc:24:31: fatal error: ns3/ndnSIM-module.h: No such file or directory</b><br>
compilation terminated.<br>Waf: Leaving directory `/home/vm1/wsn/ndnSIM/ns-3/build'<br>Build failed<br> -> task in 'rocketfuel-maps-cch-to-annotaded' failed (exit status 1): <br>    {task 62289936: cxx rocketfuel-maps-cch-to-annotaded.cc -> rocketfuel-maps-cch-to-annotaded.cc.3.o}<br>
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-Iexamples/ndnSIM-sample-topologies/extensions', '-I../examples/ndnSIM-sample-topologies/extensions', '-I/usr/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '../examples/ndnSIM-sample-topologies/scenarios/rocketfuel-maps-cch-to-annotaded.cc', '-c', '-o', 'examples/ndnSIM-sample-topologies/scenarios/rocketfuel-maps-cch-to-annotaded.cc.3.o']<br>
</div><br></div>I checked that the file "<b>ndnSIM-module.h" </b>exists in path "ns-3/build/ns3/ndnSIM-module.h". <br><br></div>I even tried reconfiguring ns-3 code with following change, but no success. <br>
<pre style="margin-left:40px">./waf configure --includedir=/home/vm1/ndnSIM/ns-3/build --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples<br></pre><pre><br> </pre>Can someone please help to resolve this problem? Will it be wise to copy the content of ndnSIM/ns-3/build/ns3 to the /usr/local/include so that it finds the header?<br>
<br></div>/anil.<br><br><div><div><b> <br></b></div></div></div>