Hi,
In order to run your programs (any binaries generated from the build)
from eclipse you have to do one of the following:
1. Add an external builder (Run->External Tools->External Tools
Configuration) and add a new Program. Then you can configure it:
a. Location = your waf location (i.e. /home/x/workspace/ns-3-dev/waf)
b. Working Directory = your ns3 directory (i.e. /home/x/workspace/ns-3-
dev/)
c. Arguments = --run "${string_prompt}"
then you can run your program (with arguments) with the new created
external builder.
OR (this is the method I use)
2. You can run any binary generated directly as a C++ Application
(normal run command). In order to do this you must link your programs
to ns3 library (libns3.so) by configuring your run OR you can just
create a static link to libns3.so in your lib directory (i.e. ln -s /
home/x/workspace/ns-3-dev/build/debug/libns3.so /usr/local/lib/
libns3.so).
Hope it helps
On Oct 23, 4:14 pm, Ardomar loja <
l.ardo...@gmail.com> wrote:
> hey
> Thanks, Mihal, This is a great tutorial!
> But now how can i run my projects in scratch??
>
> thanks,
> Tiago Estevão
>
> 2009/10/22 Mihal Brumbulli <
mbrumbu...@gmail.com>