[ndnSIM] Custom Strategy - undefined reference errors?

John Baugh jpbaugh at umich.edu
Sat Dec 17 22:35:49 PST 2016


ndnSIM folks,

Okay, so I made a (really poor) workaround - I added #include
"PolularityStrategy.cpp" to the bottom of the .hpp file...  It appears that
the .waf system doesn't look for .cpp files in the example or
subdirectories to compile?  I'm very confused by that.

Regardless, I got it to compile, but I have an issue now:

cout<< (or std::cout) is not printing anything.  I've tried it in the
constructor...  I've tried it in afterReceiveInterest...  nothing.

Any ideas about why this might be the case?

Thanks,

John

On Sat, Dec 17, 2016 at 10:33 PM, John Baugh <jpbaugh at umich.edu> wrote:

> ndnSIM friends,
>
> I've been working on creating a custom strategy, and I can't seem to
> figure out why it's generating the errors that it is.
>
>
> Here are the related files:
>
> *The errors:*
> https://drive.google.com/open?id=1bk4IKf2nRtq2lMjtoQFX4_
> MqC8Sjuvirdof2CezRWEQ
>
> *Test file using the strategy*
> https://drive.google.com/open?id=0By9ufeKqmJYYeC05SUc3b2lQekk
>
> *The Custom CS I'm using:*
> https://drive.google.com/open?id=0By9ufeKqmJYYNHNRbzdGaWpLUlE
>
> *The Custom Strategy files:*
> https://drive.google.com/open?id=0By9ufeKqmJYYQzBqVl9Gck5mYzA
>
> https://drive.google.com/open?id=0By9ufeKqmJYYa2lObnltV1ZRUlE
>
>
>
> Any help would be appreciated.
>
> Thanks,
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161218/cd631b48/attachment.html>


More information about the ndnSIM mailing list