wood burning stoves 2.0
The moose likes IDEs, Version Control and other tools and the fly likes C++ Eclipse plug-in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "C++ Eclipse plug-in" Watch "C++ Eclipse plug-in" New topic

C++ Eclipse plug-in

Joe Cuppa

Joined: Dec 31, 2004
Posts: 14
I'm trying to switch compilers. I downloaded Eclipse and am able to get Java code to compile. I also downloaded the C++ plug-in; however, I can't get the C++ code to compile.

I suppose I have to "hook Eclipse up" to some C++ compiler. I downloaded a gcc compiler. Now my problem is in setting up all the paths to tell Eclipse where to find the includes, the compiler exe, and the like.

Does anyone have some (detailed) steps how to do set this up?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32793

Google found this walkthrough. It looks promising.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Joe Cuppa

Joined: Dec 31, 2004
Posts: 14
I've downloaded and installed Cygwin, the CDT, and Eclipse. I've also set my system PATH varible for XP. I can get a "Hello world" program to compile and run from the command line, but I can't get it to build in Eclipse.

Here's the error I get in Eclipse:

I suppose I have to set some properties in Project->Properties.
Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

Do you recommend any particular free c++ compiler to use in Eclipse

Jesus lives
I agree. Here's the link: http://aspose.com/file-tools
subject: C++ Eclipse plug-in
It's not a secret anymore!