Eclipse MinGW Binary Not Found

前端 未结 6 1988
遇见更好的自我
遇见更好的自我 2020-12-21 04:23

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 correc

6条回答
  •  半阙折子戏
    2020-12-21 04:59

    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

提交回复
热议问题