[ndnSIM] How to run simple example in ndnSIM2.0?
최원준
wonjunchoi001 at gmail.com
Mon Feb 2 12:54:58 PST 2015
Hello.
I am little confusing about how to run simple example.
I have been using scratch folder but the source is changed from .cc to
.cpp.
so ./waf --run scratch/ndn-simple didn't work.
I copied ndn-simple.cpp to scratch and compiled it by ./waf and then ./waf
--run scratch/ndn-simple.
./waf --run=ndn-simple
Waf: Entering directory `ndnSIM2.0/ns-3/build'
*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']*
The recommended way is also I don't know how to do it.
I did below steps. by the way, where should I put my scenario? in the
scenario/build ?
git clone git://github.com/cawka/ndnSIM-scenario-template.git
scenariocd scenarioexport
PKG_CONFIG_PATH=/usr/local/lib/pkgconfigexport
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
./waf configure
./waf --run <scenario>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150203/e3f2f0e6/attachment.html>
More information about the ndnSIM
mailing list