<div>Hi ndnSIM friends,</div><div><br></div><div>In NFD/daemon/fw/forwarder.cpp, i add below codes to the onIncomingData():</div><div><br></div><div><div>ns3::Ptr<ns3::Node> testNode = Names::Find<ns3::Node>(tNode);<br>ns3::ndn::GlobalRoutingHelper ndnGlobalRoutingHelper;<br>ndnGlobalRoutingHelper.AddOrigins(prefix, testNode);<br>ns3::ndn::GlobalRoutingHelper::CalculateRoutes();</div><div><br></div><div>where "tNode" and "prefix" above is in the form of std::string. What i tried to do is to tell all the another nodes that the current node can provide the content with specific prefix. While when i compile the source code, i got below message:</div><div><br></div><div>'Names' has not been declared</div><div>expected primary-expression before '>' token</div><div>'GlobalRoutingHelper' is not a member of 'ns3::ndn'</div><div>expected ';' before 'ndnGlobalRoutingHelper'</div><div>'ndnGlobalRoutingHelper' was not declareded in this scope</div><div>'ns3::ndn::GlobalRoutingHelper' has not been declared</div><div><br></div><div>What is the correct namespace? </div><div><br></div><div>Look forward to your reply.</div></div><div><br></div><div>Pei Ren</div>