Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need help! Eclipse w/ Mac OS X C++

100 views
Skip to first unread message

Drew Lustro (HyphyJuice)

unread,
Sep 18, 2007, 9:48:35 PM9/18/07
to
So I installed Eclipse CDT for Mac OS X and made a new project with the
"Hello World" template. It creates the project just fine but then cannot
even compile because it cannot find "iostream" and says that "cout" is
undefined.

Yes, I installed the optional Xcode tools for OS X so I have gcc 3.x and
4.x... and a ton of other shit i let install "just in case"

In the eclipse project, my "includes" paths are the following

/usr/lib/gcc/i686-apple-darwin8/4.0.1/include
/usr/include
/System/Library/Frameworks
/Library/Frameworks

WTF is going on here? Anyone else experience this and solve it? Anyone
using Xcode instead?

Thanks

Drew

Drew Lustro (HyphyJuice)

unread,
Sep 18, 2007, 10:03:50 PM9/18/07
to
So I solved my own problem... it seems at least.

You right click on the project >> select "Properties"

Then find the group that says "C/C++ Build" and expand the tree
Click "Tool chain editor" then CHANGE Current builder from GNU Make
Builder to CDT Internal Builder.

When I clicked apply, suddenly Eclipse added 2-3 more include
directories to my project and the hello world app built successfully.


Let me know if any of you guys experienced this.

Drew

guse...@gmail.com

unread,
Sep 28, 2012, 2:30:49 PM9/28/12
to
SORRY I CAN'T HELP, I JUST WANTE DTO LET YOU KNOW YOU MADE ME LAUGH LITERALLY OUT LOUD WITH YOUR COMMENT: "... and a ton of other shit i let install "just in case" " LMAO THANKS FOR THAT
0 new messages