Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » "Launch failed. Binary not found."(c++, windows, run error)
"Launch failed. Binary not found." [message #533715] Sun, 16 May 2010 00:09 Go to next message
l3ecl is currently offline l3ecl
Messages: 5
Registered: May 2010
Junior Member
I keep getting the "Launch failed. Binary not found." error.

I downloaded the recent IDE for c++ in eclipse for Windows XP.

In addition, I downloaded and installed:
1.)MinGW
2.)gdb
3.)make

all from here

and I've set the PATH to "C:\MinGW\bin"
and I've selected the parser as "PE Windows Parser"

but this error still pops up, help please.

[Updated on: Sun, 16 May 2010 00:10]

Report message to a moderator

Re: "Launch failed. Binary not found." [message #533719 is a reply to message #533715] Sun, 16 May 2010 06:35 Go to previous messageGo to next message
l3ecl is currently offline l3ecl
Messages: 5
Registered: May 2010
Junior Member
someone pls help, i have a final project due this coming thursday
Re: "Launch failed. Binary not found." [message #533731 is a reply to message #533715] Sun, 16 May 2010 11:47 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1964
Registered: July 2009
Senior Member
Did you actually build the project? Do you see any executables in the "Binaries" folder?

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: "Launch failed. Binary not found." [message #533762 is a reply to message #533731] Sun, 16 May 2010 20:09 Go to previous messageGo to next message
l3ecl is currently offline l3ecl
Messages: 5
Registered: May 2010
Junior Member
Built the project but no luck executing it.
I don't see any Binaries folder related to eclipse.

"**** Build of configuration Default for project hi ****


(Cannot run program "make": Launching failed)"
Re: "Launch failed. Binary not found." [message #533766 is a reply to message #533762] Sun, 16 May 2010 20:57 Go to previous messageGo to next message
l3ecl is currently offline l3ecl
Messages: 5
Registered: May 2010
Junior Member
so i tried making a new project with the same source code as hello world and named it 'ak'
i see MinGW in the toolchain, but i still run it properly and get the error below

**** Build of configuration Debug for project ak ****

**** Internal Builder is used for build ****
g++ -oak.exe hi.o
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 1047 ms.

[Updated on: Sun, 16 May 2010 20:59]

Report message to a moderator

Re: "Launch failed. Binary not found." [message #533768 is a reply to message #533766] Sun, 16 May 2010 21:04 Go to previous messageGo to next message
l3ecl is currently offline l3ecl
Messages: 5
Registered: May 2010
Junior Member
never mind i got it working. I HAD TO SAVE THE FILE FIRST BEFORE RUNNING IT. what is up with eclipse developers.
at least put: "Preferences -> General -> Workspace -> "Safe automatically before build" as default.

[Updated on: Sun, 16 May 2010 21:05]

Report message to a moderator

Re: "Launch failed. Binary not found." [message #545427 is a reply to message #533715] Wed, 07 July 2010 17:48 Go to previous messageGo to next message
linziza is currently offline linziza
Messages: 5
Registered: July 2010
Junior Member
Hi
I'm running on Windows XP, downloaded 3 versions of Eclipse Helios: Java, C/C++, & Wascana. I am able to run/use the Java version but neither of the other 2 which I need to use C.

I've tried building & running the Hello World Tutorial (located in Eclipse Help) but I keep getting the same error message: "Launch Failed. Binary not found."

------------------------------------------------------------ ---------------------------
Console: **** Build of configuration Default for project Hello World ****
(Cannot run program "make": Launching failed)
------------------------------------------------------------ ---------------------------

Error log:

Error processing help request org.eclipse.help.webapp/advanced/breadcrumbs.css

Error processing help request org.eclipse.help/livehelp.js

Ignored attempt to add saveable that was already registered

Unable to create editor ID com.android.ide.eclipse.editors.manifest.ManifestEditor: No editor descriptor for id com.android.ide.eclipse.editors.manifest.ManifestEditor
------------------------------------------------------------ --------------------------

I'm new to this so I don't understand what this means. I followed Eclipse's Help Tutorial C/C++ Development User Guide recommendation -- downloaded/ installed Wascana (which is supposed to have the GNU toolchain... which is apparently necessary to run programs in eclipse?). So, now do I need to configure something?

Thanks in advance!
Linziza
Re: "Launch failed. Binary not found." [message #545519 is a reply to message #545427] Thu, 08 July 2010 07:32 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1964
Registered: July 2009
Senior Member
Quote:
Console: **** Build of configuration Default for project Hello World ****
(Cannot run program "make": Launching failed)

That means that either you have no make installed (make is part of MinGW that is installed by Wascana) or your path settings are not correctly.

Wascana is Eclipse CDT + GNU toolchain. If you follow the installation instructions on the Wascana homepage http://code.google.com/a/eclipselabs.org/p/wascana/ it should install and setup everything you need.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: "Launch failed. Binary not found." [message #629450 is a reply to message #545519] Tue, 28 September 2010 10:44 Go to previous message
David Paterson is currently offline David Paterson
Messages: 5
Registered: September 2010
Location: Scotland
Junior Member
I'm just starting with Eclipse on Windows and ran into this same error.

After comparing properties for C and C++ projects, the very simple solution is that the C++ Build Artifact extension isn't set by default. Just put "exe" in there and everything works... Smile
Previous Topic:No Ant Editor?
Next Topic:multi user .cproject file
Goto Forum:
  


Current Time: Fri Oct 31 10:51:15 GMT 2014

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

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