Binary not found

problem with eclipse

Page 1 of 1

8 Replies - 47050 Views - Last Post: 05 December 2010 - 12:07 AM Rate Topic: -----

#1 marathdamane91  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-April 08

Binary not found

Posted 06 April 2009 - 11:51 AM

I was working in eclipse on just a simple program to make sure it was working right
 #include <stdio.h>
#include <stdlib.h>

int main(void) {
	puts("Hello World!!!");
	return EXIT_SUCCESS;
}



and when i went to run it the error "launch failed. binary not found." appeared does anyone know how to fix this problem?
Is This A Good Question/Topic? 0
  • +

Replies To: Binary not found

#2 erik.price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 485
  • View blog
  • Posts: 2,690
  • Joined: 18-December 08

Re: Binary not found

Posted 06 April 2009 - 11:53 AM

Could you possibly not have your compiler installed?
Was This Post Helpful? 0
  • +
  • -

#3 marathdamane91  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-April 08

Re: Binary not found

Posted 15 April 2009 - 08:52 AM

yeah i have minGW installed.
Was This Post Helpful? 0
  • +
  • -

#4 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2246
  • View blog
  • Posts: 9,236
  • Joined: 18-February 07

Re: Binary not found

Posted 15 April 2009 - 12:34 PM

did you make your app before you tried to run it.

In my setup for eclipse (which is not standard I know) I have to make the file before I can run it.
Was This Post Helpful? 0
  • +
  • -

#5 eylem_www  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 04-October 09

Re: Binary not found

Posted 04 October 2009 - 04:30 AM

I've same problem when I try to debug codes,I see 'binary not found' and I did everything that ı found on the web,but i can't solve it.please help me?
Was This Post Helpful? 0
  • +
  • -

#6 Guest_Nasiroudin*


Reputation:

Re: Binary not found

Posted 07 June 2010 - 12:42 AM

Make sure you have MinGW installed correctly on your pc.
Then open c/c++ Eclipse.
1. Create a new project
2. Create a main.cpp source file in the project.

When finished, type the following in the main.cpp file.

#include <iostream>
using namespace std;

int main(){
    cout << "Hello World!" <<endl;
    return EXIT_SUCCESS;
}


3. Right click on the project name, select properties.
4. Go to Run debug setting, then on new and select c/c++ Application.
5. Click on the Main tab, and click either search project or browse for the project.
e.g It is something like this (/"project name"/Debug/"project name".exe)
6. Then click on the Debugger tab and select "MinGW gdb debugger"
7. Click ok when finished and run your file.

It should run perfectly without any error.

This post has been edited by NickDMax: 07 June 2010 - 04:48 AM
Reason for edit:: fixed code tags: [code] ... paste your code here... [/code]

Was This Post Helpful? 0

#7 Guest_-=LEXX=-*


Reputation:

Re: Binary not found

Posted 30 August 2010 - 06:50 AM

For Windows:
Project / Properties / C/C++ Build / Settings /Binary parsers:
turn on "PE Windows Parser"
enjoy!
Was This Post Helpful? 0

#8 olibenu  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 45
  • View blog
  • Posts: 537
  • Joined: 31-December 08

Re: Binary not found

Posted 30 August 2010 - 08:00 AM

build it before running/debugging
project->build project
Was This Post Helpful? 0
  • +
  • -

#9 Guest_deb1bhu@yahoo.com*


Reputation:

Re: Binary not found

Posted 05 December 2010 - 12:07 AM

View PostNasiroudin, on 06 June 2010 - 11:42 PM, said:

Make sure you have MinGW installed correctly on your pc.
Then open c/c++ Eclipse.
1. Create a new project
2. Create a main.cpp source file in the project.

When finished, type the following in the main.cpp file.

#include <iostream>
using namespace std;

int main(){
    cout << "Hello World!" <<endl;
    return EXIT_SUCCESS;
}


3. Right click on the project name, select properties.
4. Go to Run debug setting, then on new and select c/c++ Application.
5. Click on the Main tab, and click either search project or browse for the project.
e.g It is something like this (/"project name"/Debug/"project name".exe)
6. Then click on the Debugger tab and select "MinGW gdb debugger"
7. Click ok when finished and run your file.

It should run perfectly without any error.



Hi as you said i have done upto step 4 but here
5.Click on the Main tab, and click either search project or browse for the project.
e.g It is something like this (/"project name"/Debug/"project name".exe

I can't find any exe file in the folder debugg, In fact there is no file at all. it is empty, Can you help me please. Because i am unable to run any c c++ program in ecl- galileo, it says launch failed binary not found.

thanks

deb
Was This Post Helpful? 0

Page 1 of 1