rmartin5 / aqua-sim-ng

Aqua-Sim on NS3
83 stars 42 forks source link

ns3::Packet has no member named "Cleanup" #12

Closed silmarilli closed 5 years ago

silmarilli commented 5 years ago

Hello, Trying to compile the git version of aqua-sim-ng with ns-3.27 and got the following: ../src/aqua-sim-ng/model/aqua-sim-mac-goal.cc: In member function ‘void ns3::AquaSimGoal::ProcessAckPkt(ns3::Ptr)’: ../src/aqua-sim-ng/model/aqua-sim-mac-goal.cc:1161:10: error: ‘class ns3::Packet’ has no member named ‘Cleanup’ pkt->Cleanup(); ^~~ Any help is much appreciated. Thank you

BigRabbit71 commented 5 years ago

Hi, the problem seems like to be related to the version of ns3, you can just comment this line, and replace with the following line: pkt = 0;

Hope it helps.

rmartin5 commented 5 years ago

Merged #13 . Thanks for the additions!