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.
Related
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.
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/
I installed the "Eclipse IDE for Java Developers" package from the Eclipse website. I work with C++ projects as well, so I used the "Install New Software..." menu option to install the "C/C++ Development Tools" package. After doing so and restarting Eclipse, the C++ perspective did not appear; clicking on the "Open Perspective" button did not show the "C/C++" option. I also found that I was unable to create a C++ project; the "C/C++" tree node did not appear in the New Project wizard. The Java perspective and new project options were available.
I verified that CDT was installed by going to the "Installed Installation Details" dialog - "C/C++ Development Tools" appeared in the "Installed Software" list. I tried uninstalling this package and reinstalled it again without success. I tried removing the Eclipse installation altogether and installing the "Eclipse IDE for C/C++ Developers". There were no C/C++ options in this installation either. I checked the .log file in the workspace directory and found nothing unusual.
Why are the C/C++ features not available after installing the CDT feature in Eclipse?
The path for this system Eclipse was installed on included a 1.3.1 version of the Java runtime environment and the Eclipse executable was using this version to run Eclipse. Unfortunately, there doesn't appear to be any indication of this in Eclipse, nor any indication that anything failed.
Using the instructions here, I changed the JVM to javaw.exe in a Java 7 installation. After doing so, the C/C++ perspective and new project options appeared in Eclipse.
I ran into the similar problem with Eclipse-Luna(4.4) on Yosemite(10.10).
- NOT able to get the C/C++ perspective with JRE (8u25) or java 1.6 on Yosemite.
But I manage to get C/C++ perspective with the installation of JDK(8u25).
I also had the same issue.
I just installed java7 and restarted eclipse:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
I had this same problem on Linux (CentOS 6.5 32-bit) with Eclipse Luna:
I installed standard Eclipse (eclipse-java-luna-SR1-linux-gtk.tar.gz)
In eclipse, under Help->Install New Software I added the p2 software repository to the list of sites: http://download.eclipse.org/tools/cdt/releases/8.5
I installed C/C++ Development Tools and C/C++ Development Tools SDK
In CentOS, I also installed OpenJDK Development Environment java-1.7.0-devel-1:1.7.0.65-2.5.1.2.el6_5 (i686).
I edited eclipse.ini to increase the Xmx setting to 1024m from 256m, but I did not add a -vm property. In the Eclipse preferences after restarting, I verified it was using JDK 1.7.
The C++ perspective was not contained in the list of available perspectives.
But C++ Project was an option in the File->New menu, and when I chose it, Eclipse asked me if I wanted to use the C++ perspective. I said yes, and it appeared, and is now available in the perspectives list as well.
The fix for me was to install the latest JDK from Oracle. I had a fresh install of Yosemite and the Eclipse for Java developers. The C/C++ option showed up after the install and restart of Eclipse. Hope it helps!
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.
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