Please read the tutorial carefully.
First, if you copy a script to scratch/ you have to give it a new name, like 'dsrtest.cc' (otherwise waf will likely pick up the original before finding your modified version in scratch/).
Second, to run scripts in scratch you don't include "scratch/" in the script name;, that's one of the places waf will look for scripts.
Just say
$ waf --run dsrtest
Peter
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/o88gtgW7ASM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
HiI did the followingi am not able to see the output of dsrtest.cci did cp src/dsr/examples/dsr.cc scratch dsr/test.cc
On Tue, Mar 3, 2015 at 3:45 PM, pdbarnes <pd...@mac.com> wrote:
Please read the tutorial carefully.
First, if you copy a script to scratch/ you have to give it a new name, like 'dsrtest.cc' (otherwise waf will likely pick up the original before finding your modified version in scratch/).
Second, to run scripts in scratch you don't include "scratch/" in the script name;, that's one of the places waf will look for scripts.
Just say
$ waf --run dsrtest
Peter
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/o88gtgW7ASM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.