lrwpanerrordistanceplot.cc ../scratch/lrwpanerrordistanceplot.cc: In function ‘int main(int, char**)’: ../scratch/lrwpanerrordistanceplot.cc:118:24: error: invalid conversion from ‘int’ to ‘ns3::LrWpanAddressMode’ [fpermissive] params.m_srcAddrMode = 2; ^ ../scratch/lrwpanerrordistanceplot.cc:119:24: error: invalid conversion from ‘int’ to ‘ns3::LrWpanAddressMode’ [fpermissive] params.m_dstAddrMode = 2; ^ In file included from ./ns3/callback.h:24:0, from ../scratch/lrwpanerrordistanceplot.cc:28: ./ns3/ptr.h: In instantiation of ‘ns3::Ptr::~Ptr() [with T = ns3::SpectrumValue]’: ../scratch/lrwpanerrordistanceplot.cc:110:84: required from here ./ns3/ptr.h:456:7: error: invalid use of incomplete type ‘class ns3::SpectrumValue’ m_ptr>Unref (); ^ In file included from ./ns3/lrwpanphy.h:25:0, from ./ns3/lrwpanmac.h:32, from ./ns3/lrwpannetdevice.h:28, from ../scratch/lrwpanerrordistanceplot.cc:33: ./ns3/lrwpaninterferencehelper.h:30:7: error: forward declaration of ‘class ns3::SpectrumValue’ class SpectrumValue; ^ In file included from ./ns3/callback.h:24:0, from ../scratch/lrwpanerrordistanceplot.cc:28: ./ns3/ptr.h: In instantiation of ‘void ns3::Ptr::Acquire() const [with T = ns3::SpectrumValue]’: ./ns3/ptr.h:441:12: required from ‘ns3::Ptr::Ptr(const ns3::Ptr&) [with T = ns3::SpectrumValue]’ ../scratch/lrwpanerrordistanceplot.cc:110:84: required from here ./ns3/ptr.h:410:7: error: invalid use of incomplete type ‘class ns3::SpectrumValue’ m_ptr>Ref (); ^ In file included from ./ns3/lrwpanphy.h:25:0, from ./ns3/lrwpanmac.h:32, from ./ns3/lrwpannetdevice.h:28, from ../scratch/lrwpanerrordistanceplot.cc:33: ./ns3/lrwpaninterferencehelper.h:30:7: error: forward declaration of ‘class ns3::SpectrumValue’ class SpectrumValue; ^
lrwpanerrordistanceplot.cc ../scratch/lrwpanerrordistanceplot.cc: In ...
ns3/ptr.h:456:7: error: invalid use of incomplete type 'class ns3::SpectrumValue' m_ptr>Unref ();. ^. In file included from ./ns3/lrwpanphy.h:25:0, from ./ns3/lrwpanmac.h:32, from ./ns3/lrwpannetdevice.h:28, from ../scratch/lrwpanerrordistanceplot.cc:33: ./ns3/lrwpaninterferencehelper.h:30:7: error: forward declaration of 'class ...