Jump to content

C++ in Eclipse for Mac

- - - - -

  • Please log in to reply
No replies to this topic

#1
BlackRoseAngel

BlackRoseAngel

    Newbie

  • Members
  • PipPip
  • 14 posts
Hello, I am new to programming for C++ and for that matter the IDE Eclipse. I was wondering what I am doing wrong here, I get the errors:
Error launching external scanner info generator (g++ -E -P -v -dD /Users/brettchapin/Documents/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) HelloWorldC++ Unknown C/C++ Problem
Error launching external scanner info generator (g++ -E -P -v -dD /Users/brettchapin/Documents/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) HelloWorldC++ Unknown C/C++ Problem
Error launching external scanner info generator (gcc -E -P -v -dD /Users/brettchapin/Documents/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) HelloWorldC++ Unknown C/C++ Problem
Error launching external scanner info generator (gcc -E -P -v -dD /Users/brettchapin/Documents/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) HelloWorldC++ Unknown C/C++ Problem

I set up the paths just fine to the Android SDK just fine, but I am having problems figuring out what I have done wrong with this. Here is my code if it may help:

#include <iostream>
using namespace std;

int main(void) {
cout << "Hello World!" << endl; // prints Hello World!
return 0;
}

Please, someone give me some pointers on how to get Eclipse to work with C++. Thanks.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users