Skip to first unread message

Lincy Jim

unread,
Mar 3, 2015, 7:35:03 PM3/3/15
to ns-3-...@googlegroups.com
 Hi

I did the following 


i am not able to see the output of dsrtest.cc


i did cp src/dsr/examples/dsr.cc scratch dsr/test.cc



Inline image 1

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+...@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.

Konstantinos

unread,
Mar 3, 2015, 7:49:23 PM3/3/15
to ns-3-...@googlegroups.com
Hi,

Please READ the tutorial and the code you are running.
There is NO expected output in the console from the scenario, only a trace file.

If you want other output, you have to specify it yourself according to the ns-3 documentation


On Wednesday, March 4, 2015 at 12:35:03 AM UTC, jim c wrote:
 Hi

I did the following 


i am not able to see the output of dsrtest.cc


i did cp src/dsr/examples/dsr.cc scratch dsr/test.cc



Inline image 1
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.
Reply all
Reply to author
Forward
0 new messages