Saltycrane logo

SaltyCrane Blog

Notes on Python, Django, and web development on Ubuntu Linux

    

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

4 Comments — feed icon Comments feed for this post


#1 Chris MM commented on 2010-08-26:

Cool, worked a treat, Thanks.


#2 steven commented on 2010-10-06:

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

Thanks a lot.


#3 Mei commented on 2011-05-18:

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:MinGWbin. 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 2011-09-06:

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

thanx for helping.

Post a comment

Required
Required, but not displayed
Optional

Format using Markdown. (No HTML.)
  • Code blocks: prefix each line by at least 4 spaces or 1 tab (and a blank line before and after)
  • Code span: surround with backticks
  • Blockquotes: prefix lines to be quoted with >
  • Links: <URL>
  • Links w/ description: [description](URL)
Created with Django | Hosted by Linode