You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: