[ndnSIM] New Ubuntu machine - new bizarre errors

Alex Afanasyev aa at CS.UCLA.EDU
Tue Jan 3 20:39:54 PST 2017


Hi John,

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).

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...

---
Alex

> On Jan 3, 2017, at 7:31 PM, John Baugh <jpbaugh at umich.edu> wrote:
> 
> Greetings again all,
> 
> I tried commenting out... practically everything, and it can't even find my
> 
> #include "ns3/ndnSIM/ndn-cxx/data.hpp", whether or not I put "/src/" before data.hpp or not.
> 
> ALSO, it seems some of the actual ndnSIM files have major errors in them...
> 
> Is 2.3 a dud, or am I simply doing something wrong?
> 
> Thanks,
> 
> John
> 
> On Tue, Jan 3, 2017 at 9:32 PM, John Baugh <jpbaugh at umich.edu <mailto:jpbaugh at umich.edu>> wrote:
> ndnSIM friends,
> 
> I'm getting this:
> jpbaugh at Janeway:~/ndnSIM/ns-3$ ./waf --run=jpb-strategy1-test
> Waf: Entering directory `/home/jpbaugh/ndnSIM/ns-3/build'
> [ 796/2944] Copying src/ndnSIM/model/ndn-common.hpp -> build/ns3/ndnSIM/model/ndn-common.hpp
> [2579/2944] Compiling examples/jpb-strategy1-test/jpb-strategy1-test.cpp
> In file included from ./ns3/ndnSIM/helper/ndn-stack-helper.hpp:23:0,
>                  from ./ns3/ndn-all.hpp:23,
>                  from ./ns3/ndnSIM-module.h:10,
>                  from ../examples/jpb-strategy1-test/jpb-strategy1-test.cpp:7:
> ./ns3/ndnSIM/model/ndn-common.hpp:28:32: fatal error: ndn-cxx/interest.hpp: No such file or directory
> compilation terminated.
> 
> Waf: Leaving directory `/home/jpbaugh/ndnSIM/ns-3/build'
> Build failed
> 
> 
> 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.
> 
> This is making me a bit nervous as to whether I have a shoddy build or a legitimate build of ndnSIM.
> 
> 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.
> 
> Thanks,
> 
> John
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170103/65d398e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170103/65d398e3/attachment.bin>


More information about the ndnSIM mailing list