[ndnSIM] Compiling Error on Scenario-Template(2.4)

Junxiao Shi shijunxiao at email.arizona.edu
Sun Dec 17 02:23:48 PST 2017


Hi Ertugrul

This is caused by ndnSIM not using relative path in its #include lines.
I reported this two years ago https://redmine.named-data.net/issues/2662 but
it’s still not truly fixed.
It’s not portable to rely on multiple -I flags from the program using the
ndnSIM library. The installation script should have changed all #include
lines to use relative paths.

Yours, Junxiao

On Sat, Dec 16, 2017 at 07:44 Ertugrul DOGRULUK <
ertugruldogruluk at hotmail.com> wrote:

> Hi Spyros,
>
>
> The error is,
>
>
>
> In file included from ../extensions/BadGuy.h:23:0,
>                  from ../extensions/BadGuy.cpp:1:
> /usr/local/include/ns3-dev/ns3/ndnSIM/model/ndn-common.hpp:28:32: fatal
> error: ndn-cxx/interest.hpp: No such file or directory
> compilation terminated.
>
> In file included from
> /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-stack-helper.hpp:23:0,
>                  from /usr/local/include/ns3-dev/ns3/ndn-all.hpp:23,
>                  from /usr/local/include/ns3-dev/ns3/ndnSIM-module.h:10,
>                  from ../scenarios/p4.cpp:5:
> /usr/local/include/ns3-dev/ns3/ndnSIM/model/ndn-common.hpp:28:32: fatal
> error: ndn-cxx/interest.hpp: No such file or directory
> compilation terminated.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171217/ec6a4495/attachment.html>


More information about the ndnSIM mailing list