Fwd: Is there an IDE to create NS3 simulation files?

241 views
Skip to first unread message

Shey Janota

unread,
Mar 16, 2022, 2:41:44 PM3/16/22
to ns-3-...@googlegroups.com


---------- Forwarded message ---------
De: Shey Janota <sheyj...@gmail.com>
Date: qua., 16 de mar. de 2022 às 15:38
Subject: Is there an IDE to create NS3 simulation files?
To: <to...@tomh.org>


Hi Tom,

how are you?

I'm writing a few simulations files (.cc and .py) to run on NS-3.29. I would like to know 
if there is an IDE to write and edit NS-3.29 simulation files?
At the moment I'm using plain notepad.
 


Kindly regards.

Sheila Janota

Tom Henderson

unread,
Mar 16, 2022, 3:55:19 PM3/16/22
to ns-3-...@googlegroups.com

I do not use IDEs, but others who do have written some tips here:  https://www.nsnam.org/wiki/HOWTOs#IDE_Integration

As far as I know, there is no custom ns-3 IDE that, for instance, uses a canvas to generate simulation scripts.

With the forthcoming ns-3.36 release, and in the current development tree, we have converted to use CMake build system, which has better integrations with IDEs.

- Tom

Shey Janota

unread,
Mar 16, 2022, 5:02:11 PM3/16/22
to ns-3-...@googlegroups.com
 Integrations with IDEs will be a big help.
Thanks very much for the clarification. 

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/8e209e28-2708-234f-2a52-fe2a287fefcb%40tomh.org.

Soulimane Mammar

unread,
Mar 17, 2022, 1:28:33 AM3/17/22
to ns-3-users
Hi,
I'm using VSCode and it's great ! 
In addition to editing functions and code highlighting, I can navigate through the source code easily (go to declaration or definition to some function or class, go to type definition, find references, ...etc.)
The intellisense is very helpful (especially for a guy who has a very short memory like me ;-) )
Regards  

Veeramani Ramasamy

unread,
Mar 17, 2022, 5:18:06 AM3/17/22
to ns-3-users
Hi Friends,
My suggestion is ,try eclipse or VS code. need to do some pre configuration in order to  use IDE.

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.

Dinesh Tamang

unread,
Mar 17, 2022, 5:23:15 AM3/17/22
to ns-3-...@googlegroups.com
Please follow this guide.


Dinesh Tamang, PhD Student
Department of Information Engineering
University of Siena, Italy
Via Roma, 56, 53100 Siena SI
Institutional E-mail: dinesh...@student.unisi.it


install_ns3.pdf

Shey Janota

unread,
Mar 17, 2022, 9:28:26 AM3/17/22
to ns-3-...@googlegroups.com
Thanks very much, guys :) 


Regards.

Mahabub Subhani

unread,
Jun 2, 2022, 12:49:56 AM6/2/22
to ns-3-users
hi  souliman,
i tried to install Eclise ide for NS3, but iam not successful.
you told that you are using VS code.
can you provide a detailed information about how to install VS code.
Thnks in advance.


Hussein Al-Omaisi

unread,
Jun 2, 2022, 6:28:25 AM6/2/22
to ns-3-...@googlegroups.com
Hi,

Watch this video about ns3 and vocoder



Mahabub Subhani

unread,
Jun 6, 2022, 3:06:40 AM6/6/22
to ns-3-users
i watched this video and installed visual studio code software. but iam unable to run any program on it.
can anybody help me out on this?
Tahnk you.

Gabriel Ferreira

unread,
Jun 6, 2022, 10:19:51 AM6/6/22
to ns-3-users
If you are using ns-3.36, check the tutorial for instructions. 
https://www.nsnam.org/docs/tutorial/html/getting-started.html#building-with-ides

Dimes

unread,
Oct 1, 2024, 3:57:09 AM10/1/24
to ns-3-users
I wonder if there is a way to make vscode python interpreter automatically recognize "import ns.applications"? 
I can run it with $ ./ns3 run first.py, no problem, this shows that my python binding is configured and built.

But I want to have hints when I write python scripts and import ns.application, just like when I write pure python scripts for other projects
Reply all
Reply to author
Forward
0 new messages