<div dir="ltr">Hi, All<div><br></div><div>I  am trying to implement the queue on each router and I am getting the main  error on line 95 :</div><div> ../src/ndnSIM/examples/congestioncontrolsenario1.cpp:95:45: error: conversion from ‘std::shared_ptr<nfd::Face>’ to non-scalar type ‘ns3::Ptr<nfd::Face>’ requested</div><div><br></div><div>    93 ObjectFactory factory;</div><div>    94  Ptr<ndn::L3Protocol> ndn = router1->GetObject<ndn::L3Protocol>();</div><div>    95  Ptr<nfd::Face> face = ndn->getFaceById(0);</div><div>    96 Ptr<ndn::NetDeviceFace> ndf = DynamicCast<ndn::NetDeviceFace>(face);</div><div>    97 Ptr<NetDevice> nd = ndf->GetNetDevice();</div><div>    98 Ptr<PointToPointNetDevice> p2p = StaticCast<PointToPointNetDevice> (nd);</div><div>    99 factory.SetTypeId("Queue");</div><div>    100 Config::SetDefault ("NaccMecIcn::m_buffer", UintegerValue (100));</div><div>    101  Ptr<Queue> router1q = factory.Create<Queue> ();</div><div>    102  Ptr<Queue> ndnqueue = StaticCast<Queue> (router1q);</div><div>    103  p2p->SetQueue (router1q); </div><div><br></div><div>I would appreciate any idea on how to fix this issue.</div><div><br></div><div>With Regards,</div><div>Anselme NDIKUMANA</div></div>