<div dir="ltr">Hello.<div><br></div><div>I am little confusing about how to run simple example.</div><div>I have been using scratch folder but the source is changed from .cc to .cpp. </div><div>so ./waf --run scratch/ndn-simple didn't work.</div><div>I copied ndn-simple.cpp to scratch and compiled it by ./waf and then ./waf --run scratch/ndn-simple. </div><div><br></div><div>







<p class="">./waf --run=ndn-simple</p>
<p class="">Waf: Entering directory `ndnSIM2.0/ns-3/build'</p>
<p class=""><b>program 'ndn-simple' not found; available programs are: ['scratch-simulator', 'scratch/scratch-simulator', 'subdir', 'scratch/subdir/subdir', 'test-runner', 'utils/test-runner', 'bench-simulator', 'utils/bench-simulator', 'bench-packets', 'utils/bench-packets', 'print-introspected-doxygen', 'utils/print-introspected-doxygen']</b></p><p class=""><br></p><p class="">The recommended way is also I don't know how to do it. <br></p></div><div>I did below steps. by the way, where should I put my scenario? in the scenario/build ?</div><div><br></div><div><pre style="padding:5px;color:rgb(0,0,0);line-height:17.6000003814697px;border-top-width:1px;border-bottom-width:1px;border-style:solid none;border-top-color:rgb(170,204,153);border-bottom-color:rgb(170,204,153);font-size:14.6666669845581px;text-align:justify">git clone git://<a href="http://github.com/cawka/ndnSIM-scenario-template.git">github.com/cawka/ndnSIM-scenario-template.git</a> scenario
<span class="" style="color:rgb(0,112,32)">cd </span>scenario
<span class="" style="color:rgb(0,112,32)">export </span><span class="" style="color:rgb(187,96,213)">PKG_CONFIG_PATH</span><span class="" style="color:rgb(102,102,102)">=</span>/usr/local/lib/pkgconfig
<span class="" style="color:rgb(0,112,32)">export </span><span class="" style="color:rgb(187,96,213)">LD_LIBRARY_PATH</span><span class="" style="color:rgb(102,102,102)">=</span>/usr/local/lib:<span class="" style="color:rgb(187,96,213)">$LD_LIBRARY_PATH</span>

./waf configure

./waf --run <scenario></pre></div></div>