Eclipse MinGW Binary Not Found
Normally you just have to install mingw to c:\mingw, then add c:\mingw\bin to Windows´s PATH variable. that´s all. no msys or fiddeling around in eclipse needed
In Eclipse just go to File->new->C Project, select Executable->Hello World ANSI C Project, and select MinGw GCC toolchain in right window. That project should build and run from within eclipse without problems
If "MinGw GCC" toolchain is not shown in the toolchain selection, just uncheck the checkbox "Show project types and toolchains only if they are supported on the plattform" to make it show up
Related videos on Youtube
Barry Tormey
Updated on August 23, 2022Comments
-
Barry Tormey over 1 year
I am attempting to run a simple C project in Eclipse.
I have read through every single possible thread about setting up Eclipse and I thought I had everything correct.
I installed the Eclipse IDE for C/C++ Developers, installed MinGW, and MySys.
I have set my System Variables
Path
toC:\MinGW\bin; C:\msys\1.0\bin
and I have also selected PE Windows Parser in the Eclipse preferences.Finally, I set the Environment Variable to name PATH and value set to the Path variable in the checkbox select list.
Yet when I go to run my program I get the error
Launch Failed: Binary not found.
Have I overlooked something? I have cleaned/rebuilt/restarted my computer to see if that would fix the issue, still no luck.
EDIT: When I look at
Project >> Properties >> C/C++ General >> Paths and Symbols >> Includes Tab
Nothing is listed, I'm wondering if this has something to do with it?
-
Tamás Gulyás over 9 yearsI take it back, i was my AVAST antivirus + Eclipse. Right after compilation avast deletes the Binary and eclipse wont recompile (saying "Nothing changed on project") thus leaving you with no error and an execution error with missing Binary...