views:

2491

answers:

7

Hello,

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.

+1  A: 

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.

VonC
This package really is much easier to install through the update site.
Stefan Thyberg
A: 

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.

Marcin Gil
A: 

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.

McDowell
+2  A: 

If you want to use Eclipse/CDT on Windows, you should consider using Wascana Desktop Developer, a CDT distro specially targeting Windows hosts.

JesperE
+1  A: 

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.

Burkhard
A: 

Hello Burkhard! Absolutely brilliant to add make.exe to path. Thank you!

Heidi
A: 

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

cobp