[ndnSIM] Problem with "Trace sources"

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Aug 22 10:34:34 PDT 2013


Are you using the latest version of ndnSIM?  If yes, then you should make sure that ndnSIM was actually compiled (it is reported after ./waf configure and ./waf building stages).

If it is not the latest version, then you will need to explicitly include header files:

#include "ns3/ndnSIM/utils/tracers/ndn-l3-rate-tracer.h"
and 
#include "ns3/ndnSIM/utils/tracers/ndn-l3-aggregate-tracer.h"

---
Alex

On Aug 22, 2013, at 10:27 AM, chavoosh ghasemi <chavoosh.ghasemi.off at gmail.com> wrote:

> Hi everybody
> 
> I have a problem with trace sources .When I want use any of them-e.g. ndn::L3AggregateTracer- I will take below message :
> 
>  
> ../scratch/ndn-first-sim.cc: In function ‘int main(int, char**)’:
> 
> ../scratch/ndn-first-sim.cc:53:8: error: ‘ns3::ndn::L3AggregateTracer’ has not been declared
> 
> ../scratch/ndn-first-sim.cc:54:8: error: ‘ns3::ndn::L3RateTracer’ has not been declared
> 
>  I used one of the example that was in the site, without any changes...!
> 
> How I can solve it ?
> 
> 
> 
> Thanks…With best regards.
> 
> --Chavoosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130822/5220d03a/attachment.html>


More information about the ndnSIM mailing list