SaltyCrane Blog — Notes on JavaScript and web development

Eclipse/CDT "Exec error:Launching failed"

Eclipse 3.2, CDT 3.1
Build error
(Exec error:Launching failed)


You will get this error when there is a problem with your "make" command. To fix this, check your command path and your environment.

To check your command path: Right-click on your project, select "Properties", "C/C++ Build", "Build Settings" tab, "Build command".

To check your environment: Right-click on your project, select "Properties", "C/C++ Build", "Environment" tab, and make sure the PATH variable is set correctly. Click "New" to modify environment variables.

See also How to setup the MinGW gcc tools for your Managed Make C Project in CDT 3.1 and Eclipse 3.2

Comments


#1 Chris MM commented on :

Cool, worked a treat, Thanks.


#2 steven commented on :

Worked like a charm! Saved me an hour (of reading docs) or even more ...

Thanks a lot.


#3 Mei commented on :

I am new to the Eclipse CDT. So I am not sure why i still have this following error. What should be included in the PATH environment variable, I have all my old PATH from the system's PATH envoronment variable setting, and I have added C:\MinGW\bin. But I still get the following when I build a C++ simple hellow world.

Thanks for advice. Mei

* Build of configuration Debug for project testcpp *

Build error (Exec error:Launching failed)


#4 Mohammad commented on :

Hi, what do u mean with checking the command path and environment. what should stay there?

thanx for helping.