Friday, August 17, 2012

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"
In project properties > C/C++ build settings > Binary Parsers,
change from "PE Windows Parser" to "Mach-O Parser"





2. Setting a mac build configuration

Create a new C++ project


Go to windows project properties > C/C++ build > Manage Configurations


Create a new configuration by importing from existing project "the new project"


Activate the new Mac configuration.

OK. We can build the c++ project successfully on Mac.




1 comment: