Running Eclipse CDT on Mac OS X 10.9 – problem with creating binary

If you are getting the error “launch failed. binary not found” when trying to run C++ code in CDT on Mac OS X you need to:

  1. Install the Xcode Command Line Tools on a Mac (this can be installed manually through the Apple developer link at https://developer.apple.com/downloads/index.action or through download tab under preferences in Xcode)
  2. The compiler should point to “/Applications/Xcode.app/Contents/Developer” the old path was /usr/include

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *