<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Anil,<div><br></div><div>You should follow the instruction from README.md file in each template-based simulations.  These "templates" should be placed anywhere outside the actual NS-3 and are individually configured and compiled, as shown in README.md.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Dec 18, 2013, at 11:35 PM, Anil J <<a href="mailto:anilj.mailing@gmail.com">anilj.mailing@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div>One thing I noticed. There are some examples of template-based simulations provided under the ink:\<br><br><div style="margin-left:40px"><a href="http://ndnsim.net/getting-started.html">http://ndnsim.net/getting-started.html</a><br>
</div><br></div>I had put these example directories under ns-3/examples folder, and that was the issue. I just moved these folders (ndnSIM-comcom-stateful-fw,  ndnSIM-examples,  ndnSIM-nom-rapid-car2car,  ndnSIM-sample-topologies) out from here, and the ns-3 compilation worked. <br>
<br></div>No question is: if I have to use/test these nsnSIM examples, where do I move these folders so that they get compiled and we can test them?<br><br></div>Thanks,<br></div>/anil.<br><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 11:18 PM, Anil J <span dir="ltr"><<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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" target="_blank">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>=</span>/usr/local/include --boost-libs<span>=</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/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a> -> build/examples/ndnSIM-sample-topologies/scenarios/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>.3.o<br>.<b>./examples/ndnSIM-sample-topologies/scenarios/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>: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 <a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a> -> <a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>.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/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>', '-c', '-o', 'examples/ndnSIM-sample-topologies/scenarios/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>.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?<span class="HOEnZb"><font color="#888888"><br>

<br></font></span></div><span class="HOEnZb"><font color="#888888">/anil.<br><br><div><b> <br></b></div></font></span></div>
</blockquote></div><br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>