<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://914/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Xuan,<div><br></div><div>There were quite a bit of changes recently, so may want to consider to do an update in your code.  For instance, ContentObject structure has been renamed to simply "Data" and the header file now "ns3/ndn-data.h" instead of "ns3/ndn-content-object.h".  There were also changes (simplifications) in function APIs in forwarding strategy and ndn::App, so you may want to check new function definition and do the update.</div><div><br></div><div>Alternatively, you can check out pre-0.5 version of ndnSIM v0.4.3 (git checkout -b old-version v0.4.3)</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Aug 18, 2013, at 11:43 PM, "Liu, Xuan (UMKC-Student)" <<a href="mailto:xuan.liu@mail.umkc.edu">xuan.liu@mail.umkc.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div fpstyle="1" ocsi="0" style="font-family: Menlo; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="direction: ltr; font-family: Tahoma; font-size: 10pt; ">Hi Alex,<div><br></div><div>I'm installing ndnSIM on a different machine, and I tried to add my code as a separate scenario by following the instructions on how to compile a separate scenario. I had no problem with my current setup, however, when I move to a new system with a fresh installation of ndnSIM today, I got a problem. </div><div><br></div><div>One of my code within the ./my-scenario/extensions/ has imported ns/ndn-content-object.h. When I run ./waf from ./my-scenario/, i got following errors: </div><div><br></div><div><div>./extensions/custom-apps/custom-app.cc:32:36: fatal error: ns3/ndn-content-object.h: No such file or directory</div><div>compilation terminated.</div><div>Waf: Leaving directory `/home/xuanliu/ndnSIM/sync-chat/build'</div><div>Build failed</div><div> -> task in 'extensions' failed (exit status 1):</div><div><span class="Apple-tab-span" style="white-space: pre; "></span>{task 145405132: cxx custom-app.cc -> custom-app.cc.1.o}</div><div>['/usr/bin/g++', '-O3', '-g', [], '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-I/usr/include', '-I/usr/local/include/ns3-dev', '-I/usr/include/gtk-2.0', '-I/usr/lib/i386-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/libxml2', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_CORE=1', '-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1', '-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TOPOLOGY_READ=1', '-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1', '-DHAVE_NS3_VISUALIZER=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1', '../extensions/custom-apps/custom-app.cc', '-c', '-o', 'extensions/custom-apps/custom-app.cc.1.o']</div><div><br><div style="font-family: Tahoma; font-size: 13px; "><div class="BodyFragment"><font size="2"><span style="font-size: 10pt; "><div class="PlainText">Do you have any suggestions? </div><div class="PlainText"><br></div><div class="PlainText">Thanks,</div><div class="PlainText"><br></div><div class="PlainText"><span class="Apple-tab-span" style="white-space: pre; "></span>-- Xuan</div><div class="PlainText"><br></div><div class="PlainText"><br><br><br></div></span></font></div></div></div></div></div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br></div></body></html>