I recently configured Eclipse CDT for C++ development. I can build projects and no errors show up in the project.
When I try to run the project I get an error that states: lunch failed, No binaries found. This is the basic hello word C++ project that I created using the Eeclipse option menu File → New → C++ Project → Executable → Hello world C++ Project.
I tried following this solution. It had no effect.
I tried cleaning the project and building the project multiple times.
I set up CDT with Eclipse v4.2 (Juno) on my other computer with without any problems.
I had previous problems configuring Eclipse which I don't think are related, but details can be found here.
So the EXE file is in the debug folder, but for some reason Eclipse refuses to run it. It's like it does not see the EXE file. How can I fix this?
Update
I have looked at the other projects that execute successfully and noticed that there is a binaries folder in them that does not exist in the projects that don't work. (Even in the projects that don't work I can launch the EXE file manually by going to the debug folder which contains the EXE file after build).
This means that for some reason Eclipse is not creating the binaries folder with the EXE file. I tried creating the folder manually and placing the EXE file in it, but the folder has a special look when eclipse creates it and it doesn't work when you just create the folder manually. The folder just seem to contain the same file as the debug folder.
This is really frustrating.