[ndnSIM] Custom Strategy - undefined reference errors?
jpbaugh at umich.edu
Sat Dec 17 22:35:49 PST 2016
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?
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:*
> *Test file using the strategy*
> *The Custom CS I'm using:*
> *The Custom Strategy files:*
> Any help would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM