I cannot run C program in eclipse

I have been working in search engines for about 2 days. Read and follow the many instructions, but nothing worked for me (including some instructions on this website, I know that people have already asked this question here). I downloaded Eclipse, installed the C / C ++ plugin (window 7, 64 bit), but when I run the program HelloWorld.c, I get a pop-up message with the message:

Startup error. Binary not found.

Here is what I did in Eclipse:

  • Window → Preference → New CDT Project Wizard → Makefile Project → Binary Parswer, make sure that there is a checkbox opposite: “PE Window Parser”.
  • Project -> Properties -> C / C ++ Build -> Settings -> Binary Parsers, make sure that there is a checkbox in the "Parser PE Window" box.
  • Project → Properties → C / C ++ Build → Tool Chain Editor: in the current tool chain, select: Cross GCC in Currect builder, select: Gnu Make Builder.
  • install Eclipse CDT Auto Build

Here are the steps I used to create the project:

  • File -> New -> Project C. Enter "Hello" in the "Project Name:" field. Click the Next button, make sure that both the Debug and Release options are checked, click the Next button again, click the Finish button.
  • Right-click on Hello → new → Source File, enter HelloWorld.c and click Finish. enter the code below:

    #include <stdio.h>
    int main()
    {
    printf("Hello, world!\n");
    return 0;
    }
    
  • Save and click the Hammer icon to create a project. I received this message:

to do everything

Cannot start make program: startup failed

: "make" PATH PATH = [C:\eclipse_Juno; C:/Program Files (x86)/Java/jre7/bin/client; C:/Program Files (x86)/Java/jre7/bin; C:/Program Files (x86)/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0 \;

21:35:25 ( 280 )

  • , → C/++ : "Launch Failed.Binary not found"

, . , , Eclipse. .

+5
2

, , eclipse - , .

+2

.

  • MinGw Cygwin windows for eclipse.
  • .
  • " " .
  • Eclipse . .

:

  • : , .o . .
  • : "make" Eclipse. , .
0
source

All Articles