matteonerini / 5g-network-slicing-for-wifi-networks

5G Network Slicing for Wi-Fi Networks
GNU General Public License v3.0
52 stars 22 forks source link

build failed #5

Open purva030399 opened 1 year ago

purva030399 commented 1 year ago
Hello I am trying to execute a code and the following error is showing up. Please help. [2913/3434] Compiling src/ndnSIM/examples/ndn-custom-apps/hijacker.cpp ../src/ndnSIM/examples/mob9.cpp: In function ‘int ns3::main(int, char**)’: ../src/ndnSIM/examples/mob9.cpp:68:20: error: cannot convert ‘ns3::WifiPhyStandard’ to ‘ns3::WifiStandard’ 68 wifi.SetStandard(WIFI_PHY_STANDARD_80211a); ^~~~~~~~
ns3::WifiPhyStandard

In file included from ./ns3/spectrum-wifi-helper.h:24, from ./ns3/wifi-module.h:89, from ../src/ndnSIM/examples/mob9.cpp:23: ./ns3/wifi-helper.h:475:42: note: initializing argument 1 of ‘virtual void ns3::WifiHelper::SetStandard(ns3::WifiStandard)’ 475 | virtual void SetStandard (WifiStandard standard); | ~~~^~ ../src/ndnSIM/examples/mob9.cpp:78:56: error: ‘Default’ is not a member of ‘ns3::YansWifiPhyHelper’ 78 | YansWifiPhyHelper wifiPhyHelper = YansWifiPhyHelper::Default(); | ^~~

Waf: Leaving directory `/home/purvap/Desktop/ndnSIM/ns-3/build' Build failed -> task in 'mob9' failed with exit status 1 (run with -v to display more information)