Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Exec error: Launching failed
Exec error: Launching failed [message #119626] Mon, 06 September 2004 13:02 Go to next message
Eclipse UserFriend
Originally posted by: jacobi.acm.org

I get the error Build error (Exec error: Launching failed)

However, directory for make.exe is in the path, (both in cygwin and in
command prompt).
Using Windows 2000, Eclipse 3.1.0, CDT 2.0.1

Thanks for help
Chris
Re: Exec error: Launching failed [message #119746 is a reply to message #119626] Tue, 07 September 2004 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Sorry Chris,
But in a year of answering tis question, I have yet to see an example of
this where the environment was not the cause of this error. Take a look
at the September 1st thread on this exact subject. Basically, the Cygwin
shell sets its own environment via a batch script, so it is not a valid
test to invoke 'which make' there. Good luck.

Sean

Chris Jacobi wrote:
> I get the error Build error (Exec error: Launching failed)
>
> However, directory for make.exe is in the path, (both in cygwin and in
> command prompt).
> Using Windows 2000, Eclipse 3.1.0, CDT 2.0.1
>
> Thanks for help
> Chris
>
>
Re: Exec error: Launching failed [message #148942 is a reply to message #119626] Fri, 15 July 2005 09:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> I get the error Build error (Exec error: Launching failed)
>
> However, directory for make.exe is in the path, (both in cygwin and in
> command prompt).
> Using Windows 2000, Eclipse 3.1.0, CDT 2.0.1

Does it work after changing the source?
"Launching failed" is very annoying and appears always after a clean
build. After that I'm used to insert or delete a "space" somewhere in
the source, so that the debugging starts after a "small build". That's
also necessary, when I forgot to finish the programm, before starting a
new build.
When trying the eclipse 3.1 release some days ago, there was one project
(momemtary primary) that was absolutly unable to launch debugger. I
tried several times to get a working debug configuration, but it always
looses the entry of the exe-file. But minimum 4 other projects (I didn't
test more) started without problems, so it must be a mistake inside of
this special environment configuration. In the end this release only
lasts two or three hours, before restoring the usable environment 3.0.
I don't think, it's a "stupid users problem", but something inside the
eclipse environment. It might help to use the old eclipse together with
CDT 2.0, or wait for the new CTD to use with 3.1.
If it prooves as a windows problem there might be a connection to
windows ignorance of upper-/lowercase letters - but this also could be
an arbitrary supposition.
Re: Exec error: Launching failed [message #149108 is a reply to message #148942] Sun, 17 July 2005 21:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pbtranchinh.lycos.com

You need to install CDT 3.0 for Eclipse 3.1.0 not CDT 2.0.1


Edzard Egberts wrote:

>> I get the error Build error (Exec error: Launching failed)
>>
>> However, directory for make.exe is in the path, (both in cygwin and in
>> command prompt).
>> Using Windows 2000, Eclipse 3.1.0, CDT 2.0.1

> Does it work after changing the source?
> "Launching failed" is very annoying and appears always after a clean
> build. After that I'm used to insert or delete a "space" somewhere in
> the source, so that the debugging starts after a "small build". That's
> also necessary, when I forgot to finish the programm, before starting a
> new build.
> When trying the eclipse 3.1 release some days ago, there was one project
> (momemtary primary) that was absolutly unable to launch debugger. I
> tried several times to get a working debug configuration, but it always
> looses the entry of the exe-file. But minimum 4 other projects (I didn't
> test more) started without problems, so it must be a mistake inside of
> this special environment configuration. In the end this release only
> lasts two or three hours, before restoring the usable environment 3.0.
> I don't think, it's a "stupid users problem", but something inside the
> eclipse environment. It might help to use the old eclipse together with
> CDT 2.0, or wait for the new CTD to use with 3.1.
> If it prooves as a windows problem there might be a connection to
> windows ignorance of upper-/lowercase letters - but this also could be
> an arbitrary supposition.You need to use CDT 3.0 to works
Re: Exec error: Launching failed [message #149499 is a reply to message #149108] Mon, 18 July 2005 06:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> You need to install CDT 3.0 for Eclipse 3.1.0 not CDT 2.0.1

>> eclipse environment. It might help to use the old eclipse together
>> with CDT 2.0, or wait for the new CTD to use with 3.1.

Yes, I know and I'm waiting for it. When using the eclipse-update it
only shows cdt2.2.1 for install and looking directly to the download
page there is only a release candidate available.
Re: Exec error: Launching failed [message #149532 is a reply to message #149499] Tue, 19 July 2005 00:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pbtranchinh.lycos.com

Edzard Egberts wrote:


>> You need to install CDT 3.0 for Eclipse 3.1.0 not CDT 2.0.1

>>> eclipse environment. It might help to use the old eclipse together
>>> with CDT 2.0, or wait for the new CTD to use with 3.1.

> Yes, I know and I'm waiting for it. When using the eclipse-update it
> only shows cdt2.2.1 for install and looking directly to the download
> page there is only a release candidate available.

No. Don't use eclipse-update from the help menu. Go to eclipse website and
download from there.
Re: Exec error: Launching failed [message #149549 is a reply to message #149532] Tue, 19 July 2005 13:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> No. Don't use eclipse-update from the help menu. Go to eclipse website
> and download from there.

Okay, I just tried a second time using RC2, also just going back to 3.0
twice. :o(

I tried to launch but now there is another problem:
make: *** No rule to make target `-mwindows', needed by `tt_Server.exe'.

The target "-mwindows" is out of Properties-> Build-> GCC C++ Linker->
Miscellaneous-> Other objects. I don't understand why this doesn't work,
because there was no change of make and I think it is a valid option. Do
you know whether this is a problem of RC2, or is the problem in front of
the PC? ;o)
Re: Exec error: Launching failed [message #149570 is a reply to message #149549] Wed, 20 July 2005 00:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pbtranchinh.lycos.com

What do you tried to launch? the workbench? The workbench should work just
fine.
I use the M5 CDT. I have never tried the RC2, so I have no comment there.
If you make the problem with make. Make sure you do this.... install MinGW
or Cygwin. and dont forget read the help in eclipse...the part where it
says before start...

Honestly I don't know what is wrong with your problem. I guess it has to
do with the makefile. But if you install MinGw or Cygwin and set path it.
It should be fine,


> Okay, I just tried a second time using RC2, also just going back to 3.0
> twice. :o(

> I tried to launch but now there is another problem:
> make: *** No rule to make target `-mwindows', needed by `tt_Server.exe'.

> The target "-mwindows" is out of Properties-> Build-> GCC C++ Linker->
> Miscellaneous-> Other objects. I don't understand why this doesn't work,
> because there was no change of make and I think it is a valid option. Do
> you know whether this is a problem of RC2, or is the problem in front of
> the PC? ;o)
Re: Exec error: Launching failed [message #149586 is a reply to message #149570] Wed, 20 July 2005 04:34 Go to previous message
Eclipse UserFriend
Originally posted by: e.egberts.tantec.de

> What do you tried to launch? the workbench? The workbench should work
> just fine.

Yes, it does. Seems a little bit more coloured.

> If you make the problem with make. Make sure you do this.... install
> MinGW or Cygwin.

I'm using Eclipse 3.0 now for approximately one year and there are 14
projects in the workbench. There is a high probability, that I know how
to use eclipse together with MinGW. ;o)

> Honestly I don't know what is wrong with your problem. I guess it has to
> do with the makefile.

I'm using managed make. There is one directory with eclipse 3.0 and one
with eclipse 3.1 and a copy of my workbench directory. Starting eclipse
3.1 it loads the workbench with all my projects, tells me of some
data-type-conversion and finally doesn't launch my current primary
project, because of not recognizing -mwindows (The error message was a
copy out of console). Restoring the original workbench (without
conversions) and starting 3.0, I can continue to work. So it's not a
problem to me, that I cannot use 3.1, but I think the RC is ment, to
find out, whether there are problems of the new software. It seems to
me, there is one. I also made a copy of converted workbench, so if there
are detailed questions, I could tell quite fast.
Previous Topic:Recursive Include Path?
Next Topic:Can't import method from file "Parser.jj"
Goto Forum:
  


Current Time: Mon May 05 06:24:35 EDT 2025

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

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

Back to the top