I am having problems trying to run a c++ project in eclipse.
I found several pages with solutions, but none of them worked.
The program file specified in the launch configuration does not exist
Launch Failed. Binary not found. CDT on Eclipse Helios
The program compiles:
08:52:36 **** Build of configuration Debug for project testcpp ****
make all
Building file: ../test.cpp
Invoking: Cross G++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP -MF"test.d" -MT"test.d" -o "test.o" "../test.cpp"
Finished building: ../test.cpp
Building target: testcpp.exe
Invoking: Cross G++ Linker
g++ -pthread -o "testcpp.exe" ./test.o
Finished building target: testcpp.exe
08:52:38 Build Finished (took 1s.664ms)
And the file testcpp.exe
is inside the debug folder, but when I run Run as
-> Local C/c++ Application
it shows the error Launch Failed. Binary not found.
The thing is I can just click Run
and it works.
Any idea?
Eclipse version:
Eclipse IDE for C/C++ Developers
Version: Luna Service Release 1 (4.4.1) Build id: 20140925-1800
Platform: Windows 7 64bits.