0
votes

As we all know, Eclipse can not only run Java project, It also can run C/C++, Python, PHP etc, but we need to install plugins and configure run environment. I want to run C++ Project on Eclipse+cygwin+cdt (Windows 7), I have added following these environment variables. "C:\cygwin64\usr\include" "C:\cygwin64\lib" "C:\cygwin64\bin"

and configure Eclipse toolchain = CygwinGcc and binary parsers = PE Windows Parser, I also set sth about "Paths and Symbols", but I still cannot run C/C++, following is the error info:

"Lauching CTest Debug" has encounted a problem. The program file specied in the launch configuration does not exist."

there is no binaries files, is there something wrong with it? I'm confused.

2
Did you start eclipse from within a cygwin shell? What does it say when the compiler is run? - πάντα ῥεῖ
This answer might also be helpful: stackoverflow.com/questions/2339755/… - πάντα ῥεῖ

2 Answers

0
votes

An executable probably doesn't exist in your debug folder.

There is a thread on how to get c++ running on Eclipse here:

The program file specified in the launch configuration does not exist

Hope that solves your problem

0
votes

Did you install gcc toolchain successfully in Cygwin? Try to include gcc, gdb and make when you install cygwin.