You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libc version (ldd -v): ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.23
compiler version : 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
**Description of the problem **
I've defined some helper and model class in NS3, and I put these files in directory ./bake/source/ns-3.34/contrib, and I can successfully run scripts using aforementioned helper and model class under NS3 (i.e., under directory ./bake/source/ns-3.34, run ./waf --run mytest, and mytest.cc is my demo script to test the defined class).
However, when I write a script dcetest.cc in DCE (I put the script under directory ./bake/source/ns-3-dce/myscripts/ns-3-dce-quagga/example), and run ./waf --run dcetest under directory ./bake/source/ns-3-dce/, it reports cannot find the user-defined class (located in ../bake/source/ns-3.34/contrib).
I find the user-defined class has added into the directories ./bake/build/include/ns3.34/ns3/ and** ./bake/source/ns-3.34/build/ns3**, but not in the directory ./bake/source/ns-3-dce/build/include/ns3.
I've also tried to copy the user-defined classes' header files into the directory ./bake/source/ns-3-dce/build/include/ns3, and exported the directory (./bake/build/include/ns3.34/ns3/) to the PATH env variable, both attempts are failed.
So how to use NS3's user-defined class in DCE? Thanks a lot!
The text was updated successfully, but these errors were encountered:
**Description of the problem **
I've defined some helper and model class in NS3, and I put these files in directory ./bake/source/ns-3.34/contrib, and I can successfully run scripts using aforementioned helper and model class under NS3 (i.e., under directory ./bake/source/ns-3.34, run ./waf --run mytest, and mytest.cc is my demo script to test the defined class).
However, when I write a script dcetest.cc in DCE (I put the script under directory ./bake/source/ns-3-dce/myscripts/ns-3-dce-quagga/example), and run ./waf --run dcetest under directory ./bake/source/ns-3-dce/, it reports cannot find the user-defined class (located in ../bake/source/ns-3.34/contrib).
I find the user-defined class has added into the directories ./bake/build/include/ns3.34/ns3/ and** ./bake/source/ns-3.34/build/ns3**, but not in the directory ./bake/source/ns-3-dce/build/include/ns3.
I've also tried to copy the user-defined classes' header files into the directory ./bake/source/ns-3-dce/build/include/ns3, and exported the directory (./bake/build/include/ns3.34/ns3/) to the PATH env variable, both attempts are failed.
So how to use NS3's user-defined class in DCE? Thanks a lot!
The text was updated successfully, but these errors were encountered: