Error of "ns3/tools-module.h' file not found"

273 views
Skip to first unread message

Tomokazu Yoshida

unread,
Apr 6, 2014, 1:16:17 AM4/6/14
to ns-3-...@googlegroups.com
Hello All,

Now I am trying to run oner program "manhattan.cc" in "vtl.zip" (http://dsn.tm.kit.edu/english/misc_vtl.php). Then I did some steps as follow:
----
1. Copy "manhattan.cc" file to directory "scratch" in the folder which I installed ns-3.
(cp /Users/tomokazy/Documents/18-759/ns3/vtl-sources/ns-3/scratch/manhattan.cc scratch/manhattan.cc; The current directory is"/Users/tomokazy/Documents/18-759/ns3/fink-0.36.1/ns-3-allinone/ns-3-dev", which I installed ns-3. Also "/Users/tomokazy/Documents/18-759/ns3/vtl-sources/ns-3/scratch/" is the directory where I downloaded "manhattan.cc")

2. Build by using waf (./waf)
----

Then I got the error as follow: (also attached screen shot)
----
[ 743/1533] cxx: scratch/manhattan.cc -> build/scratch/manhattan.cc.1.o../scratch/manhattan.cc:10:10: fatal error: 'ns3/tools-module.h' file not found

#include "ns3/tools-module.h"
----

Actually the error is understandable because there are no "tools-module.h" under "ns3" directory. However, I have no idea to fix this error. Maybe this error is basic things but I cannot solve for hours. I am sorry to bother your time, but would like you to help me to execute this program. (My PC is mac OS X 10.9.2)

Thanks in advance,
Screen Shot 2014-04-05 at 22.38.50.png

Konstantinos

unread,
Apr 6, 2014, 7:00:34 AM4/6/14
to ns-3-...@googlegroups.com
Hi,

I suspect that the version of NS-3 that this work is based on is very old (could be ns-3.11 that they used for WifiPhySim model), but I could not find exactly which.
There have been lot of changes in the structure of ns-3 since then. 

If you search the API of that release you can find which classes it provides (http://www.nsnam.org/docs/release/3.11/doxygen/group__tools.html) which in current ns-3-dev release that you used, are included in the statistics module (http://www.nsnam.org/doxygen/group__stats.html)
Reply all
Reply to author
Forward
Message has been deleted
0 new messages