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

Compile error #2

Open
Zony-Zhao opened this issue Nov 20, 2021 · 1 comment
Open

Compile error #2

Zony-Zhao opened this issue Nov 20, 2021 · 1 comment

Comments

@Zony-Zhao
Copy link

Trying to compile App6.cc
Get this:

zony@DESKTOP-LGIFS31:~/ns3/ns-allinone-3.29/ns-3.29$ ./waf
Waf: Entering directory `/home/zony/ns3/ns-allinone-3.29/ns-3.29/build'
[2684/2739] Compiling scratch/App6.cc
[2685/2739] Compiling scratch/scratch-simulator.cc
[2686/2739] Compiling scratch/subdir/scratch-simulator-subdir.cc
[2697/2739] Linking build/scratch/subdir/subdir
[2698/2739] Linking build/scratch/scratch-simulator
../scratch/App6.cc: In function ‘ns3::Ptrns3::Socket uniFlow(ns3::Address, uint, std::string, ns3::Ptrns3::Node, ns3::Ptrns3::Node, double, double, uint, uint, std::string, double, double)’:
../scratch/App6.cc:246:68: error: ‘TcpReno’ was not declared in this scope
246 | Config::SetDefault("ns3::TcpL4Protocol::SocketType", TypeIdValue(TcpReno::GetTypeId()));
| ^~~~~~~
../scratch/App6.cc:250:68: error: ‘TcpTahoe’ was not declared in this scope
250 | Config::SetDefault("ns3::TcpL4Protocol::SocketType", TypeIdValue(TcpTahoe::GetTypeId()));
| ^~~~~~~~

@wlwl1011
Copy link

Hello, did you find a solution to that problem?

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

2 participants