How to remove C/C++ and complete CDT from Eclipse? - c++

I have configured C/C++ in Eclipse kepler using CDT. But it didn't compile anyhow. But now I want to remove all the C/C++ configurations and the CDT from my eclipse, because now I do not need it. As well as I see the eclipse has been so very slow after configuring CDT. SO can somebody please tell me how to remove CDT and C/C++ from eclipse kepler?

go to Help->About Eclipse Platform->Installation Details
select the package you no longer want, and click uninstall. then restart.
if unsure what to install, then I'd suggest going to Help->Install New Software and browsing the CDT download-site to see what you have installed.
CDT Download Site: http://download.eclipse.org/tools/cdt/releases/kepler
and yes, the bracketeer plugin has a cat for its icon. priceless.

Related

I don't see CDT in eclipse-cdt

I don't see the File -> New -> C Project after I installed eclipse-cdt under ubuntu apt-get install eclipse-cdt
I've been using eclipse-cdt for couple of years, I upgraded my ubuntu and when I open eclipse the menus don't have C/C++ options in it [ as if you installed eclipse not eclipse-cdt] so I went to install new software and downloaded cdt and it says eclipse cdt is upto date yet I dont see : http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fgetting_started%2Fcdt_w_existing_code.htm [ you have to go down the page or search for Creating a project and click that link ]
did it disable during precise-pelagon installation or something went wrong.
thx.
First off, get a Real Disto ;-P
Then, check:
Window --> Open Perspective
or
Window --> Show View
If in neither, check:
Window --> Customize Perspective --> Command Groups Availability
Just an FYI -- Eclipse is Eclipse. CDT is just an addon plugin. You can download plain vanilla Eclipse and then go to Help --> Eclipse Marketplace and search for CDT and install the plugin. A lot of people prefer to NOT use the bundled distro Eclipse because they usually tweak and bloat it. I used to use the Fedora Eclipse for years until I got fed up with weird and strange things happening, which usually boiled down to me using the built in one from my package manager.
For example, the Fedora Eclipse does not include the Eclipse Marketplace by default (WHY!?!), you have to go get the plugin and install it into your Eclipse just to get the normal Eclipse features that should have been there all along. There's plenty of other examples...
ubunut upgrade screwed eclipse [ it uninstalled my old and installed new from ubuntu repo which is not CDT!! ]
resolution : install only from : http://eclipse.org/downloads/

Eclipse Juno CDT running in Linux - it does not give me any toolchain

I am using Slackware 14 and latest Eclipse Juno.
As a regular Eclipse user, I installed CDT just like I always did. However, when I create a new project, there is no toolchain available. Screenshot here:
I remember I used to get the default GCC toolchain available as soon as I have CDT installed in Linux. Even if using BSD, I could install GCC cross compile toolchain and it just works for native GCC as well. I tried to install the cross compile toolchain and CDT does not pick it up.
Please offer your suggestions, thank you.
you should install it from help menu
I had the same problem. At some point, I could program in C++ with Eclipse. One day, it can't find any tool chain even when there are a couple of them. Basically, you need to reinstall your CDT plugin with assumption that you installed your tool chain in a correct place - for this, you need to refer to instructions for your Linux distribution.
Here is what I did without changing anything on toolchain:
Uninstall CDT from Eclipse
Help -> Install new software -> Click the link "Already installed" -> Select CDT items -> Click Uninstall
Install CDT again
This got me my toolchain back in Eclipse.
In case reinstalling does not work, it means you have unsupported toolchain for some reason. Uncheck Show project types and toolchains only if they are supported on the platform on the new project dialog. Then it will show the toolchain. You can go ahead to select the toolchain to create the project. But I'd try to find why the installed gcc is unsupoprted.

Eclipse on Linux does not display options for C++ New Project

I recently installed Linux, from there I installed Eclipse, from there I installed the Eclipse PDE module, from there I installed CDT debug and CDT build tools. However when I go to create new project -> C++ -> I get an empty window...and I can not click next.
Seems like Eclipse is still missing something that I need to install.
My best suggestion would be to uninstall the eclipse you have, and install cdt directly, available here.

Eclipse: C/C++ Plugin Download Link?

I'm downloaded the Java EE version of Eclipse 3.5.1. Can I now use it to edit C/C++ with the proper plugin?
I went to Help >> Install New Software but I don't know which URL to use to get the C/C++ plugin. I can't find it on the Eclipse website either.
Just wanted to update the thread with the Juno (Eclipse 4.2) plugin link since I had some trouble finding it.
To install it on your existing eclipse go to Help >> Install New software >> Add and add the link: http://download.eclipse.org/tools/cdt/releases/juno
If you need another version you can find it here.
Note that the update URL has changed from tracking the Eclipse name to an independent numeric version beginning with Luna:
CDT for Eclipse Luna - http://download.eclipse.org/tools/cdt/releases/8.6
CDT for Eclipse Mars - http://download.eclipse.org/tools/cdt/releases/8.8.1
CDT for Eclipse Neon - http://download.eclipse.org/tools/cdt/releases/9.0
1-In Eclipse (Juno) , go to " Help/Install new software" .
2- Install dialog appears , in front of "Work with:" input at the top row of dialog press the "Add..." button.
3- in the "Add Repository" dialog type something as name( for example CDT) and in the "Location" input box type: " http://download.eclipse.org/tools/cdt/releases/juno " and press OK.
If your connection to internet be good, after a while you should have "CDT main features" and "CDT Optional Features" appeared in the list.
http://www.eclipse.org/downloads/ May be you need to download C/C++ IDE.
You can download the package you want according to your eclipse version.
The CDT can either be installed as part of the Eclipse C/C++ IDE packaged zip file or installed into an existing Eclipse using the "Help->Install New Software->Add(near work with)" and provide following required URL:
http://download.eclipse.org/tools/cdt/releases/indigo.
Version: Luna Service Release 2 (4.4.2)
Ubuntu: 14.04
Go to Help -> Install New Software
There is a text-box named "Work with".
http://download.eclipse.org/tools/cdt/releases/8.6
Wait for 5 minutes (Pending will appear)
Then, select "CDT main features" and "CDT optional features"
Click Next
Accept the agreement license
It will start downloading.
Alternative way to install CDT was tested under Ubuntu 16.04.2, Eclipse Neon3
Help > Eclipse Marketplace...
Enter "cdt" in Search > Find
Scroll down to locate Eclipse C/C++ IDE CDT x.x, click Install
You may have a problem with Galileo's download if you're behind a proxy.
If it comes to it, this might help.
http://www.easyeclipse.org/site/plugins/eclipse-cdt.html
This is what you are looking for...
I have not tried the same with gallelio or helios but when tried installing CDT pluggin for the recent eclipse Indigo, it worked fine. It works with both ADT and CDT plugins simultaneously.
The download URL for plugin is http://download.eclipse.org/tools/cdt/releases/indigo.
Installing CDT depends on version of eclipse you have.
This page will help you to download appropriate CDT based on the version on eclipse you have.
http://www.eclipse.org/cdt/downloads.php
Go to http://www.eclipse.org/cdt/downloads.php
You can either manually download the plugin then provide the local path in Help->Install New Software or you can directly provide the repository url.
For example if you are using Eclipse Helios then you can directly provide the CDT eclipse repository URL as http://download.eclipse.org/tools/cdt/releases/helios.
Tip:
try to get the .zip file for the plugin and paste it in dropins folder at eclipse/dropins because if you ever need to re install eclipse, this zip will be handy
https://eclipse.org/cdt/downloads.php
look for archives there, and download the latest one!
like this one

How to configure Eclipse with CDT?

I've been trying to use CDT with Eclipse 3.4 under Windows XP with cygwin.
What do I need to do, in order to get startet?
I used "eclipse-cpp-ganymede-SR1-win32.zip" found on the Eclipse homepage.
Edit:
The main problem is, that I cannot compile and run the code.
In the run configuration, I tried gcc.exe for the C/C++ Application:
After adding the path of make.exe to my $Path, and starting from scratch, it works perfectly.
I finally found. Thanks guys.
After downloading and unpacking "eclipse-cpp-ganymede-SR1-win32.zip", you need to install either Cygwin or MinGW.
Make sure the compiler (e.g. gcc.exe) and make.exe is on your $Path.
Start Eclipse and everything should work fine.
If you want to use Eclipse/CDT on Windows, you should consider using Wascana Desktop Developer, a CDT distro specially targeting Windows hosts.
According the the CDT Downloads page:
As a minimum, you need to install the Eclipse Platform Runtime before installing the CDT
So adding the CDT Ganymede update site to your current eclipse 3.4 configuration should be enough for you to install CDT.
After that, do you have any error message ?
For instance, there can be some eclipse.ini-related issues when using this package.
For me the package you downloaded worked from start. However I was using it with MinGW instead of Cygwin.
I am using it also for QT4 development together with QT Integrator.
I use MinGW, though I note that the documentation says you can use Cygwin. I would have a look through Max Berger's CDT guide to troubleshoot the problem.
you can install both Cygwin and MinGW in your system. gcc and make available with Mingw seems to be suitable better for native windows build. If the PATH environment is set to paths of Cygwin [and/or] MinGW Eclipse project wizard asks you select one . Either Cygwin or MinGW.
For MingW, you may need to download gdb as well, if you need to debug your application