[ndnSIM] Debugging error

Sai Gautam Mandapati saigautam96 at gmail.com
Mon Feb 6 19:32:33 PST 2023


Thanks for your reply, Alex.


On Mon, Feb 6, 2023 at 10:44 AM Alex Afanasyev <aa at cs.fiu.edu> wrote:

> Unfortunately, you cannot do such things with C++... you created multiple
> duplicate compilation units.
>
> For changes that are part of ndnSIM (changes in forwarder.cpp/hpp), you
> cannot use extensions in the scenario repo.  Extensions are for
> **additional** functionality or anything that can modify functionality
> within available APIs (separate strategies, processing, etc.).  If you are
> trying to do changes to the core, you would have to do it in the core
> itself.
>
> -
> Alex
>
> > On Feb 4, 2023, at 7:27 PM, Sai Gautam Mandapati <saigautam96 at gmail.com>
> wrote:
> >
> > Hi everyone,
> >
> > I'm getting an error of msg = "log component
> "ndn-cxx.nfd.accessstrategy" has already been registered once" when I'm
> trying to run my scenario.
> >
> > Brief idea: So, I want to use forwarder.cpp and forwarder.hpp in my
> scenario as I made some changes there and linked them to my current
> scenario, but when I link them and run my code, I get a
> >
> > Fatal error: #include "face-table.hpp" no such file or directory. So, to
> avoid the fatal error, all the .cc and .h files from "fw" folder and pasted
> into my extensions folder.
> >
> > When I rerun my simulation, it gives me the error mentioned above.
> >
> > Do you know how I can fix this error?
> >
> > --
> > Sai Gautam
>
>

-- 
Sai Gautam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20230206/49b94079/attachment.html>


More information about the ndnSIM mailing list