The author of the code talks about editing the WiFi module code to make some changes to include stdma.h in it. I am confused as to which file in wifi folder in the ns3 directory do I need to edit?
I ran the first.cc example code and it executes , but when I try to run the code he has provided in stdma/examples folder , I get the fatal error saying: stdma-module.h - no such file or directory.
I have tried several ways to run the stdma simulation but not getting executed in NetAnim. I want to run a STDMA simulation in NetAnim.
harmeet@harmeet-HP-Pavilion-15-Notebook-PC:~/Desktop/ns-allinone-3.18.2/ns-3.18.1$ ./waf --run scratch/simple-stdma-example
Waf: Entering directory `/home/harmeet/Desktop/ns-allinone-3.18.2/ns-3.18.1/build'
[ 798/2050] cxx: scratch/simple-stdma-example.cc -> build/scratch/simple-stdma-example.cc.1.o
[ 799/2050] cxx: scratch/first.cc -> build/scratch/first.cc.2.o
[ 800/2050] cxx: scratch/subdir/scratch-simulator-subdir.cc -> build/scratch/subdir/scratch-simulator-subdir.cc.3.o
[ 802/2050] cxx: scratch/scratch-simulator.cc -> build/scratch/scratch-simulator.cc.4.o
../scratch/simple-stdma-example.cc:31:30: fatal error: ns3/stdma-module.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/harmeet/Desktop/ns-allinone-3.18.2/ns-3.18.1/build'
Build failed
-> task in 'simple-stdma-example' failed (exit status 1):
{task 140718957433808: cxx simple-stdma-example.cc -> simple-stdma-example.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-I.', '-I..', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '../scratch/simple-stdma-example.cc', '-c', '-o', 'scratch/simple-stdma-example.cc.1.o']