<div dir="ltr"><div><div><div><div><div><div><div><div>Alex,<br><br></div>Thanks for the response.  I'm finally tapping out and giving in.  I'm going to try to do it with the template technique you recommended before.  <br><br></div>Please let me know if I did this correctly, as the instructions are a little bit vague in the README:<br><br></div>1.)  Since I already had installed ndnSIM using the instructions in Getting Started on the main ndnSIM.net page, I don't have to perform another git clone on ns-3-dev-ndnSIM.git or any of those files right?  It seems it's just downloading a separate copy of ndnSIM to put in a separate directory.  <b>So, all I did per the instructions was a git clone on the ndnSIM-scenario-template-git.<br><br></b></div>2.)  I placed the downloaded branch (terminology might be off here) in my-simulations, <b>which in turn I have inside the ndnSIM folder</b>.  So, my-simulations is a directory that is a sibling directory of ns-3 and pybindgen, all three being inside the top level ndnSIM folder.  <b>Is this correct / ok?<br><br></b></div>3.)  I am very confused about the difference between the extensions and scenarios directories.  I was under the impression I could put a subdirectory under extensions named as my scenario, so I named a subdirectory of extensions "jpb-strategy1-test", which contains jpb-strategy1.cpp and a umd/ directory with some classes I'm using (they worked fine with ndnSIM 2.1.)  <b>Is this correct?<br><br></b></div>4.)  Now, it cannot find the scenario, regardless of whether its inside extensions or scenarios.  Does a .cpp or .cc file have to be at the top level or can I put a subdirectory?  I just want to remain organized.  I get the following:<br><br><b>jpbaugh@Janeway:~/ndnSIM/ns-3$ ./waf --run=jpb-strategy1-test<br>Waf: Entering directory `/home/jpbaugh/ndnSIM/ns-3/build'<br>program 'jpb-strategy1-test' not found; available programs are: ['subdir', 'scratch/subdir/subdir', 'scratch-simulator', 'scratch/scratch-simulator', 'test-runner', 'utils/test-runner', 'bench-simulator', 'utils/bench-simulator', 'bench-packets', 'utils/bench-packets', 'print-introspected-doxygen', 'utils/print-introspected-doxygen', 'tap-device-creator', 'src/fd-net-device/tap-device-creator', 'raw-sock-creator', 'src/fd-net-device/raw-sock-creator', 'tap-creator', 'src/tap-bridge/tap-creator']</b><br><br><br></div>Thanks,<br><br></div>John<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 11:39 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:aa@cs.ucla.edu" target="_blank">aa@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi John,<div><br></div><div>The headers are automatically copied into build/ns3/ndnSIM/ndn-cxx/ folder by the build system.  ndnSIM folder is included (should be included) as part of -I compiler flags (you can check with ./waf -v invocation).</div><div><br></div><div>What I noticed is that the file you're compiling is inside examples/ folder.  This folder doesn't automatically add ndnSIM as a dependency.  This most likely the reason of your problems, but wouldn't guarantee that it is...</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><div><blockquote type="cite"><div><div class="h5"><div>On Jan 3, 2017, at 7:31 PM, John Baugh <<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</a>> wrote:</div><br class="m_-5890842731728251319Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr">Greetings again all,<div><br></div><div>I tried commenting out... practically everything, and it can't even find my</div><div><br></div><div>#include "ns3/ndnSIM/ndn-cxx/data.hpp", whether or not I put "/src/" before data.hpp or not.</div><div><br></div><div>ALSO, it seems some of the actual ndnSIM files have major errors in them... </div><div><br></div><div>Is 2.3 a dud, or am I simply doing something wrong?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 3, 2017 at 9:32 PM, John Baugh <span dir="ltr"><<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</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><div>ndnSIM friends,<br><br></div><b>I'm getting this:<br>jpbaugh@Janeway:~/ndnSIM/ns-3$ ./waf --run=jpb-strategy1-test<br>Waf: Entering directory `/home/jpbaugh/ndnSIM/ns-3/bui<wbr>ld'<br>[ 796/2944] Copying src/ndnSIM/model/ndn-common.hp<wbr>p -> build/ns3/ndnSIM/model/ndn-com<wbr>mon.hpp<br>[2579/2944] Compiling examples/jpb-strategy1-test/jp<wbr>b-strategy1-test.cpp<br>In file included from ./ns3/ndnSIM/helper/ndn-stack-<wbr>helper.hpp:23:0,<br>                 from ./ns3/ndn-all.hpp:23,<br>                 from ./ns3/ndnSIM-module.h:10,<br>                 from ../examples/jpb-strategy1-test<wbr>/jpb-strategy1-test.cpp:7:<br>./ns3/ndnSIM/model/ndn-common.<wbr>hpp:28:32: fatal error: ndn-cxx/interest.hpp: No such file or directory<br>compilation terminated.<br><br>Waf: Leaving directory `/home/jpbaugh/ndnSIM/ns-3/bui<wbr>ld'<br>Build failed</b><br><br><br></div>When I check in the directory ndn-cxx, there is in fact no interest.hpp.  It is inside the src/ subdirectory.  However, even if I modify ndn-common.hpp from inside the model directory, to include the /src subdirectory, it still doesn't seem like it's finding this file.<br><br></div>This is making me a bit nervous as to whether I have a shoddy build or a legitimate build of ndnSIM.<br><br></div>I'm just trying to restore everything to the point I had it before I switched to this new computer.  And I'm really frustrated with some of the apparent changes, and would appreciate any help you can offer.<br><br></div>Thanks,<br><br></div>John<br></div>
</blockquote></div><br></div></div></div>


______________________________<wbr>_________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br><br><br></div></blockquote></div><br></div></div></blockquote></div><br></div>