Wednesday, August 22, 2012

Eclipse CDT Launch failed Binary not found

(1)Build before Run
You must build before run, otherwise there would be no binary to run.
But you can set up auto build, so that you can build and run by one click.

(2)If you are moving projects to another platform
Select the correct tool chain in C/C++ Build > Tool Chain editor
Select the correct binary parser in C/C++ Build->Settings->Binary Parsers
Set up a correct build configuration in C/C++ Build > Manage Configurations

(3)Another case is "supporting Mach-O 64 Parser"...

Friday, August 17, 2012

How to set Eclipse CDT Auto Build

How to set Eclipse CDT Auto Build?
First, Situee choose auto build at Eclipse menu, but it doesn't work.
When run, still "Launch failed. Binary not found."

Go to Project properties > C/C++ Build > Behavior > Workbench build type

Import Eclipse CDT project from Windows to Mac

I built a Eclipse CDT project on Windows. Then want to work on Mac, too.
But it's quite difficult to migrate to Mac.
Try to run, and "Launch failed.Binary not found."

1. Change the "Binary Parser"