Dear all,
I am using NR extension and ns3.40, created a new file by copying an example file nr/examples/cttc-nr-multi-flow-qos-sched.cc to the same folder nr/examples/cttc-nr-multi-flow-qos-sched_2.cc and the only difference between the two files are the file name and the simulation start time (a delay of 100ms in the code).
I updated the CMakefile.txt to include the new source file
set(base_examples
cttc-3gpp-channel-example
...
traffic-generator-example
cttc-nr-simple-qos-sched
cttc-nr-multi-flow-qos-sched
cttc-nr-multi-flow-qos-sched_2
)
It was good to run cttc-nr-multi-flow-qos-sched. But for the new file, I got the error:
./ns3 run nr/examples/cttc-nr-multi-flow-qos-sched_2.cc
Traceback (most recent call last):
File "./ns3", line 1622, in <module>
main()
File "./ns3", line 1582, in main
raise Exception("Couldn't find the specified program: %s" % target_to_run)
Exception: Couldn't find the specified program: nr/examples/cttc-nr-multi-flow-qos-sched_2.cc
I didn't see such problem in scratch - there I even did not need to modify CMakefile.txt.
What do I need to do to fix the error?
Thanks.
Leon