Search code examples
ceclipseconfigurationcompilationeclipse-cdt

'A program file was not specified in the launch configuration' on Eclipse Luna CDT (C Project)


So I am new to CDT (even though I have worked with C and Eclipse Java before), and seem to be getting the error as shown in the picture below:

enter image description here

Now, when I check the Run Configurations, the application field of the debug applicaiton seems to be empty, as shown below:

enter image description here

Finally, when I check the actual physical location of where the debug executable should be, the folder seems to be empty, even though I am going through the build process.

enter image description here

Does anyone know why this problem is being caused, and why exactly eclipse isn't building/compiling my executable?

NOTE : I am currently using Eclipse Luna.


Solution

  • It seems that your program doesn't compile correctly, maybe because you have a build error at the compiler level... Try to press CTRL+B and see if in the problems section you get some errors of the compiler .