Hey all! tried to find for any similar thread addressing such problem but there was none. I'm trying to run a very simple simulation to stream the video from remote host to two UEs in LTE scenario. Attached in my code. I'm using the evalvid module. But, I'm encountering below mentioned problem while building the code. I'm unable to understand what this problem is. Please if anyone could help, it would be really a big favor.
In file included from ./ns3/attribute.h:25:0,
from ./ns3/csma-helper.h:25,
from ../scratch/Phase2.cc:24:
./ns3/ptr.h:
In instantiation of ‘ns3::Ptr<T>::Ptr(const
ns3::Ptr<U>&) [with U = ns3::Node; T = ns3::NetDevice]’:
../scratch/Phase2.cc:142:60: required from here
./ns3/ptr.h:748:27: error: cannot convert ‘ns3::Node*’ to ‘ns3::NetDevice*’ in initialization
: m_ptr (PeekPointer (o))
Many thanks in advance.