|(MAC) Program "g++" not found in PATH [message #1002986]
||Sun, 20 January 2013 02:00
Registered: January 2013
I downloaded Eclipse IDE for C/C++ Developers for Mac and am trying to run a C program. I am getting these two errors when I create a new C project.|
Program "g++" not found in PATH
Program "gcc" not found in PATH
I'm assuming this has something to do with the compiler? I am not sure how to set this up, so any help would be appreciated. Is there something I need to mess with in the preferences or something I need to install?
EDIT: I downloaded the command line tools for xcode and the two errors went away. But, now I am getting an error: "Launch failed. Binary not found."
EDIT: Problem solved.
Thank to Klaus_Mr:
"Did you build test.cpp within Eclipse? On the screen shot I miss some generated folders:
Press CTRL+B (or however this key is called on a Mac). After a successfully build you should see a folder "Debug" or "Release" in the Project Explorer view and a virtual Folder Binaries. Now right click on one of the binaries and select Run as > Local C/C++ Application.
[Updated on: Mon, 21 January 2013 21:55]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01800 seconds