Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #5

Open
purva030399 opened this issue Dec 20, 2022 · 0 comments
Open

build failed #5

purva030399 opened this issue Dec 20, 2022 · 0 comments

Comments

@purva030399
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant