Eclipse has long been used for developing Java applications. When it comes to C/C++, developers familiar with Eclipse would like to use the same, rather than shifting to another IDE.
After Googling for quite long, I came across many links, but most of them were tutorials for downloading Eclipse CDT (C/C++ Development Tooling) IDE. I prefer a plugin for the existing IDE, instead of a separate IDE, even though Eclipse.
Installing Eclipse CDT IDE
1. Download from here.
2. Extract the archive, configure, compile and install.
Installing C/C++ Plugin In Eclipse IDE
1. From Help-> Install New Software..., go to the Install window.
2. Enter the location http://download.eclipse.org/tools/cdt/releases/galileo for Eclipse Galileo (3.5) or http://download.eclipse.org/tools/cdt/releases/helios for Eclipse Helios (3.6). Click Add.
3. Select the items you need to install. I selected the following.
(b) Under CDT Optional Features
[Source:
1. http://wiki.eclipse.org/CDT/User/FAQ
2. http://max.berger.name/howto/cdt/ar01s04.jsp
]
After Googling for quite long, I came across many links, but most of them were tutorials for downloading Eclipse CDT (C/C++ Development Tooling) IDE. I prefer a plugin for the existing IDE, instead of a separate IDE, even though Eclipse.
Installing Eclipse CDT IDE
1. Download from here.
2. Extract the archive, configure, compile and install.
Installing C/C++ Plugin In Eclipse IDE
1. From Help-> Install New Software..., go to the Install window.
2. Enter the location http://download.eclipse.org/tools/cdt/releases/galileo for Eclipse Galileo (3.5) or http://download.eclipse.org/tools/cdt/releases/helios for Eclipse Helios (3.6). Click Add.
3. Select the items you need to install. I selected the following.
(a) Under CDT Main Features
i) Eclipse C/C++ Development Tools
(b) Under CDT Optional Features
i) CDT GNU Toolchain Build Support
ii) CDT GNU Toolchain Debug Support
iii) CDT Utilities
iv) Eclipse C/C++ Development Platform
Note: If you select all, some of the items may not be installed.
Then click Next.
4. You get a review window. Click Next.
5. Accept the terms and conditions and click Finish.
6. After completion of the plugin, Eclipse asks you for a restart. Click Yes.
Installation successful!
[Source:
1. http://wiki.eclipse.org/CDT/User/FAQ
2. http://max.berger.name/howto/cdt/ar01s04.jsp
]
thanks :) :)
ReplyDeleteHi it works...Thanks...But how long it will take to install C/C++ plugin in Eclise IDE of Linux Platform???
ReplyDeleteHema
shouldn't take very long.
ReplyDeleteThanks Varsha, it works.
ReplyDeletethanks!, it works.
ReplyDeletethats actually i was googling..
ReplyDeletethanks a lot it really works..but cpp file when opened with cpp editor it shows syntax errors..
i don't know why..
actually i want to see details of functions when mouse moves on funtion as in android environment m able to see..
@Rocky: I don't think hovering the mouse over a function shows its definition in Eclipse. Regarding the syntax errors, cross-check the entire code. You can have a look at the following link:
ReplyDeletehttp://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm
Thanks a lot: it is working.
ReplyDeleteHakiza
thank u very much..........
ReplyDeleteit is useful
thanks a lot!
ReplyDeletethis was useful. thank you :)
ReplyDeletethanks a lot varsha... I've literally spent 3 days on configuring c/c++ in my galilio java IDE. Was looking for a plugin as mentioned by you... Now I have java and c in the same IDE. thanks to you.
ReplyDeleteBTW...do u know why eclipse is not configuring c/c++ when i select every softwares in the CDT section??
i tried it and its installation progress 60% and then an error occure.... the package contains some unwanted information click ok to proceed after clicking ok terminate the installation.... how i install c/c++ plug_in
ReplyDeleteThanks alot varsha....It worked
ReplyDeleteCan you tell how can i install subclipse plugins.
By Subclipse, do you mean subversion plugins, like SVN?
ReplyDeleteThat was useful, I was searching for an editor to code using render script for android. :) Happy now.
ReplyDeleteThank you so much.. Really It made my work so easy.. :)
ReplyDeletethanks :)
ReplyDeleteToo Good boss.Excellent.
ReplyDeleteHi
ReplyDeletehow to install CDT from source ???
thanks
hi how can we have CDT installed in Linux?
ReplyDelete@Artyom: if you mean Eclipse CDT, I have already mentioned.
ReplyDeleteThis post is for Linux.
ReplyDeleteHi can you provide the installation link for eclipse indigo? Thanks...
ReplyDeletethanks varsha
ReplyDeletethanks...:)
ReplyDeleteRegards
Rakesh
How do u configure?
ReplyDeleteworks like a charm. Thank you :)
ReplyDeletethanks Varsha...
ReplyDeleteIt helped, tq
ReplyDeleteThis is too much.. It's not at all useful.. this is simple installation so you are not worth to use eclipse...
ReplyDeleteWeb services are client and server applications that communicate over the World Wide Web’s (WWW) HyperText Transfer Protocol (HTTP). Web services provide a standard means of inter operating between software applications running on a variety of platforms and frameworks. Web Design Services
ReplyDeleteWeb services are client and server applications that communicate over the World Wide Web’s (WWW) HyperText Transfer Protocol (HTTP). Web services provide a standard means of inter operating between software applications running on a variety of platforms and frameworks. Web Design Services
ReplyDelete