<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear all,<div><span class="Apple-tab-span" style="white-space:pre">     </span>I am trying to print node of the face in ndn-fib-entry.cc: Entry::UpdateStatus(Ptr<Face> face, FaceMetric::Staus status).</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>I add one line face->GetNode()->GetId() then it gives me error:</div><div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">Waf: Entering directory `/Users/shock/ndnSIM/ns-3/build'</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">[ 980/1887] cxx: src/ndnSIM/model/fw/green-yellow-red.cc -> build/src/ndnSIM/model/fw/green-yellow-red.cc.1.o</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">[ 982/1887] cxx: src/ndnSIM/model/fib/ndn-fib-entry.cc -> build/src/ndnSIM/model/fib/ndn-fib-entry.cc.1.o</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">../src/ndnSIM/model/fib/ndn-fib-entry.cc: In member function 'void ns3::ndn::fib::Entry::UpdateStatus(ns3::Ptr<ns3::ndn::Face>, ns3::ndn::fib::FaceMetric::Status)':</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">../src/ndnSIM/model/fib/ndn-fib-entry.cc:94: error: invalid use of incomplete type 'struct ns3::Node'</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">./ns3/ndn-face.h:37: error: forward declaration of 'struct ns3::Node'</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">./ns3/ptr.h: In destructor 'ns3::Ptr<T>::~Ptr() [with T = ns3::Node]':</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">../src/ndnSIM/model/fib/ndn-fib-entry.cc:94:   instantiated from here</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">./ns3/ptr.h:456: error: invalid use of incomplete type 'struct ns3::Node'</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">./ns3/ndn-face.h:37: error: forward declaration of 'struct ns3::Node'</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">Waf: Leaving directory `/Users/shock/ndnSIM/ns-3/build'</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); ">Build failed</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); "> -> task in 'ns3-ndnSIM' failed (exit status 1): </div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); "><span class="Apple-tab-span" style="white-space:pre"> </span>{task 4330998224: cxx ndn-fib-entry.cc -> ndn-fib-entry.cc.1.o}</div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(255, 38, 0); "><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><font color="#232323">I am very confused, any one can give hints? Thank you in advance.</font></div><div><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br></div></body></html>