Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
337 views
in Technique[技术] by (71.8m points)

Launch Failed Binary not found Eclipse for C in Windows

I installed Eclipse CDT plugin and also the following packages:

  1. MinSys
  2. MinGW

I have also added paths to their bin in the PATH environment variable. Even then I am unable to compile and run any sample program in Eclipse.
How can I fix this? Thanks for your concern.

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I even faced this error and searched a lot to fix. Fortunately, I figured it out myself.

The following are the things you need to make sure they are set:

  1. Window > Preferences > C/C++ > New CDT project wizard > Makefile Project > Binary Parsers

    a) Set it to PE Windows Parser if you are on windows.

    b) Set it to Cygwin PE Parser if you are using Cygwin

    c) Set it to Elf parser if you are using ubuntu

  2. Window > Preferences > C/C++ > Build > Environment

    Now click on "select" and select "Path" variable so that you add you path variables in Eclipse.

Now its all done!

All you have to do is write a test program and press Ctrl+B (Build all; there is a button on menu bar) and after that click "Run".


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...