Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » help - (Exec error:Launching failed)
help - (Exec error:Launching failed) [message #72746] Wed, 04 June 2003 02:17 Go to next message
Eclipse UserFriend
I am new to Eclipse CDT. I have successfully use MinGW to compile my
hello.c program but unable to do it inside Eclipse. Everything I try to
do a built I got the following message on the console.

Build Error
(Exec error:Launching failed)

I suspect it couldn't find 'gcc' but I could find anything in the
preferences or project properties to specify where 'gcc' is. May be I am
in the wrong track all together. Any help is appreciated.

Kar
Re: help - (Exec error:Launching failed) [message #72757 is a reply to message #72746] Wed, 04 June 2003 09:02 Go to previous messageGo to next message
Eclipse UserFriend
Kar wrote:

> I am new to Eclipse CDT. I have successfully use MinGW to compile my
> hello.c program but unable to do it inside Eclipse. Everything I try to
> do a built I got the following message on the console.
>
> Build Error
> (Exec error:Launching failed)
>
> I suspect it couldn't find 'gcc' but I could find anything in the
> preferences or project properties to specify where 'gcc' is. May be I am
> in the wrong track all together. Any help is appreciated.
>
> Kar

Add MinGW\bin to your PATH, if you use MSYS add this to the PATH too.

If you use MSYS check, the PATH.
If you just use MinGW without MSYS, check if you have an make.exe in your
binary-path, otherwise, copy mingw32-make.exe to make.exe or, change the
default build command to mingw32-make and add the following line to your
Makefiles:

MAKE = mingw32-make

and change all occurences of make with $(MAKE)
Re: help - (Exec error:Launching failed) - Thx [message #72767 is a reply to message #72757] Wed, 04 June 2003 18:26 Go to previous message
Eclipse UserFriend
Henning Riedel wrote:

> Kar wrote:

> > I am new to Eclipse CDT. I have successfully use MinGW to compile my
> > hello.c program but unable to do it inside Eclipse. Everything I try to
> > do a built I got the following message on the console.
> >
> > Build Error
> > (Exec error:Launching failed)
> >
> > I suspect it couldn't find 'gcc' but I could find anything in the
> > preferences or project properties to specify where 'gcc' is. May be I am
> > in the wrong track all together. Any help is appreciated.
> >
> > Kar

> Add MinGW\bin to your PATH, if you use MSYS add this to the PATH too.

> If you use MSYS check, the PATH.
> If you just use MinGW without MSYS, check if you have an make.exe in your
> binary-path, otherwise, copy mingw32-make.exe to make.exe or, change the
> default build command to mingw32-make and add the following line to your
> Makefiles:

> MAKE = mingw32-make

> and change all occurences of make with $(MAKE)


Thx. It works now :)
Previous Topic:Eclipse CDT on HPUX 11.0
Next Topic:Problems with build configurations
Goto Forum:
  


Current Time: Fri Apr 25 01:33:03 EDT 2025

Powered by FUDForum. Page generated in 0.03242 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top