edit and compile ns-3 with netbeans

1,632 views
Skip to first unread message

jhoni

unread,
Mar 2, 2011, 12:06:35 AM3/2/11
to ns-3-users
Hai Guy's,. :)

I'm jhoni, now I'm learning to simulate a network using the ns-3.
editor I use netbeans but i still cannot integrate ns-3 with netbeans.
anyone can you help me ??? how to config waf in netbeans, compile in
netbeans and etc.


thanks in advace

jhoni

Mathieu Lacage

unread,
Mar 6, 2011, 10:03:41 AM3/6/11
to ns-3-...@googlegroups.com, jhoni

Most users appear to favor eclipse and there are kints on how to use
it with ns-3 in the wiki:
http://www.nsnam.org/wiki/index.php/HOWTO_configure_eclipse_with_ns-3

If you figure out how to use netbeans, feel free to create a similar
page in the wiki.

Mathieu
--
Mathieu Lacage <mathieu...@gmail.com>

Till

unread,
Aug 17, 2012, 4:30:03 AM8/17/12
to ns-3-...@googlegroups.com, jhoni
If you didn't figure out till yet, here are some advises:

- insert the Makefile-wrapper for waf into the project-root ( http://ftp.samba.org/pub/unpacked/tdb/buildtools/scripts/Makefile.waf).
- edit it till it's working;) ( you have to use the Makefile, because netbeans needs it to recognize it as a project)
- Netbeans: new project -> c++ project with existing sources -> choose the root-folder ( something like ns-3-dev)
- clean/build will be executed, this may take some time....
- edit project properties -> run config -> disable "build first". 
- edit "run command" to "./waf --run my-example".
- Don't use "my-example" ;)

this works with Netbeans 7.2, the dev-branch of ns-3 and OS X 10.8.

Regards

eric

unread,
Apr 15, 2013, 1:46:15 PM4/15/13
to ns-3-...@googlegroups.com
Just visit this site and you'll understand the whole procedure.
http://www.nsnam.org/wiki/index.php/HOWTO_configure_NetBeans_with_ns-3

AhlEM AhlAM

unread,
Oct 6, 2014, 9:20:07 AM10/6/14
to ns-3-...@googlegroups.com
hi all
it does not work i get this error when i run project
 error while loading shared libraries: libns3-dev-point-to-point-debug.so: cannot open shared object file: No such file or directory

... please help

Tommaso Pecorella

unread,
Oct 6, 2014, 10:48:02 AM10/6/14
to ns-3-...@googlegroups.com
Bzzz... automatic message parser... Bzzz...

User-provided data are too few to elaborate any meaningful answer.
Suggestion: discard or ignore the message.

Bzzz... end of parsing analysis... Bzzz...
Reply all
Reply to author
Forward
0 new messages