- ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- Problem compiling ns-2.34 with eclipse Galileo under ubuntu
Sorry for not answering your question.
Why are you needing such a complex and huge IDE such as Eclipse to compile ns2 ?
./install in a terminal window will do the same thing in more efficient and obvious way.
If you want syntax highlight you may use a simple and good text editor like SciTE to edit the .cc and .h files.
If you want to debug your code with an IDE, then in that case also, we can trace the error just by using some “printf” in appropriate places. (this is the simple way which I am using for debugging 🙂 )
As far as I know, while developing a new protocol the roll of an IDE is very very insignificant.
Once I used a light weight IDE called “Geany IDE” to compile ns2. It was good and really fast.
Kindly explain the need for using Eclipse to compile ns2.
Any way I hope that you are following a procedure like the following one
http://blog.xizi.com/?uid-15519-action-viewspace-itemid-44474
Hi,
As you guessed, I want to use eclipse for the debugger, I don’t really care about the IDE. I am just not satisfy with the printf method, I find it very time consuming.
As for the eclipse installation, yes I have followed the kind of guide you mentioned but it is not working for me. http://blog.karthiksankar.com/ns2-eclipse/
As I don’t really care about a fancy IDE, gedit works fine for me so I tried to use ddd as a debugger and once again I couldn’t make it work. I have the following error:
no such file or directory when I start ns in ddd. I have found some links on the internet saying that it was because the debugger did not get all the information required but I am pretty sure I have made all the changes in the makefile.in and instal files to enable debug mode.
So if you get some hint about ddd, I would be thrilled to give up on Eclipse, never liked it so much either.
Thanks
Discuss Through WhatsApp