Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Getting started with OS X/ CDT
Getting started with OS X/ CDT [message #230959] Sun, 01 March 2009 21:16 Go to next message
Eclipse UserFriend
Just installed eclipse. I think I have everything happening and I opened
the example hello world and the line: #include <iostream> is giving me
the following error:

Error launching external scanner info generator (gcc -E -P -v -dD
/Users/someone/Documents/C++
Class/eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/s pecs.c) HelloCDT
Unknown C/C++ Problem


I've included the following path in Properties/"C/C++general"/Paths and
Symbols/includes:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++


any more suggestions?
Re: Getting started with OS X/ CDT [message #230968 is a reply to message #230959] Mon, 02 March 2009 02:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Matthew Aidekman wrote:
> Just installed eclipse. I think I have everything happening and I opened
> the example hello world and the line: #include <iostream> is giving me
> the following error:
>
> Error launching external scanner info generator (gcc -E -P -v -dD
> /Users/someone/Documents/C++
> Class/eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/s pecs.c)
> HelloCDT
> Unknown C/C++ Problem
>
>
> I've included the following path in Properties/"C/C++general"/Paths and
> Symbols/includes:
> /Developer/SDKs/MacOSX10.5.sdk/usr/include/c++
>
>
> any more suggestions?
>
>
Do you have a C++ compiler called "gcc"? If so, is it accessible from CDT?


--
Derek
Re: Getting started with OS X/ CDT [message #230975 is a reply to message #230968] Mon, 02 March 2009 04:58 Go to previous messageGo to next message
Eclipse UserFriend
Do you have a C++ compiler called "gcc"? If so, is it accessible from CDT?

I'm assuming that this means going to "Properties for HelloCDT/C/C++
Build/Settings/Tool Settings and seeing GCC C++ Compiler on the left hand
side.


I've given the "include directories"
/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++
Re: Getting started with OS X/ CDT [message #230982 is a reply to message #230968] Mon, 02 March 2009 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Derek wrote:
>> any more suggestions?
>>
>>
> Do you have a C++ compiler called "gcc"? If so, is it accessible from CDT?
my current toolchain is MacOSX GCC that sounds about right... correct?
current builder is still GNU builder...

is that right? I wish I understood this more.
Re: Getting started with OS X/ CDT [message #230990 is a reply to message #230968] Mon, 02 March 2009 05:34 Go to previous messageGo to next message
Eclipse UserFriend
went fiddling now the line doesn't generate the warning but I still get
some project warnings. and there's an error Launch Binary Failed when I
try to run as local application.

theres no step by step guide to getting yourself up and running with CDT
on osx/unix? The best I've read is "check that gcc is installed"



Description Resource Path Location Type
Error launching external scanner info generator (g++ -E -P -v -dD
/Users/matthewaidekman/Documents/C++
Class/eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/s pecs.cpp) HelloCDT Unknown C/C++
Problem
Error launching external scanner info generator (gcc -E -P -v -dD
/Users/matthewaidekman/Documents/C++
Class/eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/s pecs.c) HelloCDT Unknown C/C++
Problem
Re: Getting started with OS X/ CDT [message #231025 is a reply to message #230990] Mon, 02 March 2009 12:50 Go to previous messageGo to next message
Eclipse UserFriend
Matthew Aidekman wrote:
> went fiddling now the line doesn't generate the warning but I still get
> some project warnings. and there's an error Launch Binary Failed when I
> try to run as local application.
> theres no step by step guide to getting yourself up and running with CDT
> on osx/unix? The best I've read is "check that gcc is installed"

Have you installed the apple developer tools (from developer.apple.com)?
Without a compiler, you're not going to get very far.

It usually installs stuff in /Developer, verify you can run your
compiler by typing "gcc" in "Terminal"

James

>
> Description Resource Path Location Type
> Error launching external scanner info generator (g++ -E -P -v -dD
> /Users/matthewaidekman/Documents/C++
> Class/eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/s pecs.cpp)
> HelloCDT Unknown C/C++ Problem
> Error launching external scanner info generator (gcc -E -P -v -dD
> /Users/matthewaidekman/Documents/C++
> Class/eclipse/.metadata/.plugins/org.eclipse.cdt.make.core/s pecs.c)
> HelloCDT Unknown C/C++ Problem
>
>
Re: Getting started with OS X/ CDT [message #231060 is a reply to message #231025] Mon, 02 March 2009 16:06 Go to previous message
Eclipse UserFriend
COMPILED!!!! GOALLLLL!!!!!

Did Cris Recoskie ever know that Cris Recoskie's my hero,
and everything I would like to be?
I can fly higher than an eagle,
for Cris Recoskie is the wind beneath my wings.
Previous Topic:Debug stepping with ARM
Next Topic:how to debug windows dll
Goto Forum:
  


Current Time: Sun May 11 14:07:41 EDT 2025

Powered by FUDForum. Page generated in 0.04860 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top