Note that there are some explanatory texts on larger screens.

plurals
  1. POI am not able run C program in eclipse
    text
    copied!<p>I've been googling for about 2 days. Read and followed a lot of instructions but nothing worked for me (including some instructions in this website; I know that people already asked this question in here). I've downloaded Eclipse, installed the C/C++ plugin (window 7, 64 bit) but when I run the <code>HelloWorld.c</code> program, I get a pop-up message saying:</p> <blockquote> <p>Launch Failed. Binary Not Found.</p> </blockquote> <p>Here is what I have done in Eclipse:</p> <ol> <li>Window-->Preference-->New CDT Project Wizard-->Makefile Project-->Binary Parswer, make sure there is a checkmark infront of: "PE Window Parser".</li> <li>Project-->Properties-->C/C++ Build-->Settings-->Binary Parsers, make sure there is a checkmark infont of "PE Window Parser".</li> <li>Project-->Properties-->C/C++ Build-->Tool Chain Editor: in the Current toolchain, select: Cross GCC in the Currect builder, Select: Gnu Make Builder.</li> <li>set Eclipse CDT Auto Build</li> </ol> <p>Here are steps I used to create the project:</p> <ol> <li>File-->new-->C Project. enter "Hello" in the "Project name:" field. Click Next button, make sure both Debug and Release are checked, click Next button again, click Finish button.</li> <li><p>Right click on Hello-->new-->Source File, enter HelloWorld.c, then click Finish button. enter the code below:</p> <pre><code>#include &lt;stdio.h&gt; int main() { printf("Hello, world!\n"); return 0; } </code></pre></li> <li><p>Save and click on the "Hammer" icon to build project. then I got this message: </p></li> </ol> <blockquote> <p>make all</p> <p>Cannot run program "make": Launching failed</p> <p>Error: Program "make" not found in 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\;</p> <p>21:35:25 Build Finished (took 280ms)</p> </blockquote> <ol> <li>Right click in the Text Editor area, Run As-->Local C/C++ Application a message pop up said: "Launch Failed.Binary not found"</li> </ol> <p>I am not sure what I did wrong. Please point out why I am not able to run my program in Eclipse. Thanks in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload