pritam001 / ns3-dumbell-topology-simulation

Analyze and compare TCP Reno, TCP Westwood, and TCP Fack performance using NS3 simulator
MIT License
14 stars 14 forks source link

Compile error #2

Open Zony-Zhao opened 2 years ago

Zony-Zhao commented 2 years ago

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::Ptr uniFlow(ns3::Address, uint, std::string, ns3::Ptr, ns3::Ptr, 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 commented 1 year ago

Hello, did you find a solution to that problem?