Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT for Windows - default install, "launch failed no binaries"
CDT for Windows - default install, "launch failed no binaries" [message #197694] Wed, 18 July 2007 15:33 Go to next message
Eclipse UserFriend
So I've installed CDT for Windows to take for a test drive before
we teach CDT and PTP at OSCON next week.
Great work Doug! No longer do we need to tell Windows folks to install
all of Cygwin, etc.

I did the default install on a machine without Eclipse or Cygwin.
I did everything using the defaults.
However when I create and build the 'hello world' C project I get
"Launch failed no binaries."

No binaries are under the Debug config.
When I change source and save i get in the Console view:
**** Build of configuration Debug for project ****
then nothing else except for
(Exec error:Launching failed)

I tried to force the build a couple of other ways too
(nice new little "hammer" action icon)
but no luck.

What's wrong?



....Beth Tibbitts
Parallel Tools Platform http://eclipse.org/ptp
Re: CDT for Windows - default install, "launch failed no binaries" [message #197706 is a reply to message #197694] Wed, 18 July 2007 21:33 Go to previous messageGo to next message
Eclipse UserFriend
I also had the warning "error launching external scanner info."
MinGW/bin wasn't in my windows path.
I added it and now i can gcc from the command line.
I launched Eclipse, no longer see the warning, but still
no binaries found.
I rebooted too.


....Beth Tibbitts
Re: CDT for Windows - default install, "launch failed no binaries" [message #197714 is a reply to message #197706] Wed, 18 July 2007 21:54 Go to previous messageGo to next message
Eclipse UserFriend
There was no PATH variable in Project Properties, C/C++ Build,
Environment. Setting it (to MinGW\bin path) doesn't help

The Project Properties, C/C++ Build, Settings has Cygwin C Compiler and
Cygwin C Linker! Not MinGW!

The Toolchain editor (Project properties, C/C++ Build, Tool Chain
Editor) was set to Cygwin GCC. Changed to MinGW GCC.

It works now!

Why was the default set to Cygwin?

....Beth
Re: CDT for Windows - default install, "launch failed no binaries" [message #201606 is a reply to message #197714] Fri, 14 September 2007 03:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: levilista.gmail.com

Beth Tibbitts wrote:
> There was no PATH variable in Project Properties, C/C++ Build,
> Environment. Setting it (to MinGW\bin path) doesn't help
>
> The Project Properties, C/C++ Build, Settings has Cygwin C Compiler and
> Cygwin C Linker! Not MinGW!
>
> The Toolchain editor (Project properties, C/C++ Build, Tool Chain
> Editor) was set to Cygwin GCC. Changed to MinGW GCC.
>
> It works now!
>
> Why was the default set to Cygwin?
>
> ...Beth

> Why was the default set to Cygwin?

My question is rather: why does it compile a MinGW project with default
settings, but not a Cygwin project?
Re: CDT for Windows - default install, "launch failed no binaries" [message #201759 is a reply to message #197694] Mon, 17 September 2007 11:32 Go to previous messageGo to next message
Eclipse UserFriend
I'm also having a problem with cygwin. I've traced it to the class
IsGnuCygwinToolChainSupported. It is checking for {"gcc ", "binutils ",
"make "}; in c:\cygwin\etc\setup\installed.db. If it doesn't find any of
these cygwin is not supported. I checked installed.db on my machine and
there is no "gcc ". Perhaps the comparison should be for gcc-core.
Re: CDT for Windows - default install, "launch failed no binaries" [message #201783 is a reply to message #201759] Mon, 17 September 2007 13:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Karen Ensing wrote:
> I'm also having a problem with cygwin. I've traced it to the class
> IsGnuCygwinToolChainSupported. It is checking for {"gcc ", "binutils
> ", "make "}; in c:\cygwin\etc\setup\installed.db. If it doesn't find
> any of these cygwin is not supported. I checked installed.db on my
> machine and there is no "gcc ". Perhaps the comparison should be for
> gcc-core.
>

BTW, I fixed Karen's bug for 4.0.1.

Doug.
Re: CDT for Windows - default install, "launch failed no binaries" [message #201791 is a reply to message #201606] Mon, 17 September 2007 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

Levente wrote:
> Beth Tibbitts wrote:
>> There was no PATH variable in Project Properties, C/C++ Build,
>> Environment. Setting it (to MinGW\bin path) doesn't help
>>
>> The Project Properties, C/C++ Build, Settings has Cygwin C Compiler
>> and Cygwin C Linker! Not MinGW!
>>
>> The Toolchain editor (Project properties, C/C++ Build, Tool Chain
>> Editor) was set to Cygwin GCC. Changed to MinGW GCC.
>>
>> It works now!
>>
>> Why was the default set to Cygwin?
>>
>> ...Beth
>
> > Why was the default set to Cygwin?
>
> My question is rather: why does it compile a MinGW project with default
> settings, but not a Cygwin project?

Because the MinGW project settings adds the mingw/bin directory to your
path.

In Wascana 0.9.3, if you don't have cygwin installed, it won't be
offered as a choice in the New Project wizard by default.

Doug.
Re: CDT for Windows - default install, "launch failed no binaries" [message #201980 is a reply to message #201791] Fri, 21 September 2007 02:12 Go to previous message
Eclipse UserFriend
Hi, I'm new with Eclipse, I read this thread, but I couldn't get the tip to
compile a Cygwin console project under windows (XP, btw). I have makefile
errors working with Cygwin C++ compiler, so I have no the binaries.
I've tryed everything, but nothing seems to work. The cygwin folders (bin,
lib, etc are in the PATH environment variable).
I choose the correct toolchains, etc. What set value I've missed?

Thanks for any tip (sorry for my english)
greets, rossana


"Doug Schaefer" <dschaefer@qnx.com> escribi
Previous Topic:Include files outside the specified include paths
Next Topic:CDT good for a PDA Application?
Goto Forum:
  


Current Time: Fri Sep 19 01:32:26 EDT 2025

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

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

Back to the top