0
votes

In Eclipse Luna I'm getting a "Launch failed. Binary not found" error. This is with just their basic HelloWorld program that will be already written. I tried creating it with the MinGW C++ toolchain, and I ctrl + b'd before running it, and it still occurs. I also have selected the PE Microsoft Parser in the 'environment' subsection under Build. I'm also using Windows 7 64 bit. I still can't find a way to fix it, any solutions that differ from the one's that I've tried would be great, thanks.

1
Could you post your code? - ianaya89
Are you getting an executable that you can launch manually from windows explorer? - kbzombie
I'm not getting an exe, and it's just the default HelloWorld that Eclipse pre-writes for you: #include <iostream> using namespace std; int main() { cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!! return 0; } - dotn

1 Answers

1
votes

If the binary was not found, It is possible that the project did not build correctly or you never built it in the first place. If you built it and it gives you that error, try going to Project --> Clean and once you clean it click build once again and then try running it.