<div dir="ltr">Greetings ndnSIM friends,<div><br><div><br></div><div>This is <b>not </b>a question, but rather for posterity's sake, I am documenting an interesting situation that cost me a couple hours because of (incorrect) assumptions.  Hopefully this will help others.</div><div><br></div><div>Here's what I did:</div></div><div><br></div><div>I copied an <i>entire </i>local directory containing an ndnSIM install (in other words the top level directory containing ns-3, scenario, and pybindgen) to a different name.</div><div><br></div><div>Note that <b>if you do this, AND if you modify anything in the ns-3 or underlying files, you must re-configure and re-build ns-3 </b>in addition to your scenarios.</div><div><br></div><div>I, for example, modified some files in ns-3/src/ndnSIM/NFD/daemon/fw that I had created, primarily adding a new member function (method) to a class in that folder.  </div><div><br></div><div>Even after going through a ./waf configure, then ./waf, then sudo ./waf install in ns-3, when I tried running scenarios I got an unresolved symbols error related to a new method I had added.  After ruling out all the major culprits (mispellings, not cleaning the build folder out, etc.) I went back to basics and read (again) the trusted README file for scenario-template.  </div><div><br></div><div>There was the issue....</div><div><br></div><div><b>Specifically, you must first build ns-3, and then try building/running your scenarios as follows:</b></div><div><br></div><div>1.)  Configure and build ns-3</div><div>

<pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;background:transparent;border-radius:3px;word-break:normal;white-space:pre;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">cd ns-3
./waf configure -d optimized
./waf
sudo ./waf install</code></pre>

2.)  Then, in your scenario directory:</div><div>

<pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;background:transparent;border-radius:3px;word-break:normal;white-space:pre;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">./waf configure
./waf --run scenario</code></pre>

These commands were of course, copied from the README file.  But I had assumed I just needed "./waf configure" instead of "./waf configure -d optimized" in the ns-3 folder, and that assumption cost me quite a bit of time.</div><div><br></div><div>Hopefully this helps someone having similar issues.</div><div><br></div><div>Thanks!</div><div><br></div><div>John</div></div>