Reputation: 2078
I am trying to set up a C/C++ development environment on Eclipse (Indigo) running on my Windows 7 desktop. I have installed MinGW onto my C drive per the instructions at eclipse.org, and added the environment variable *MINGW_HOME* set to C:\MinGW and added C:\MinGW\bin to my path.
When I run eclipse and try to create a new C or C++ project, I should be seeing MinGW as one of the available Toolchains in the project creation wizard dialog. Instead, all I see in the list of available toolchains is:
--Other Toolchain--
When I select Tool Chain Editor from the project properties, the only selectable "Current toolchain:" is No ToolChain.
I can see that C:\MinGW is installed, and I can run gcc and g++ from a CMD prompt window, so I am pretty sure that I have path set correctly.
The only troubleshooting suggestion I can find at the eclipse site is I installed MinGW toolchain on my PC but Eclipse won't find it but none of those suggestions work.
What am I missing here?
Upvotes: 5
Views: 12694
Reputation: 1
In Eclipse open Window -> Preferences -> C/C++ -> new C/C++ Project Wizard Make sure the Checkbox ("Show project types and toolchains only if they are supported on the platform") at the bottom of the window is not ticked.
Upvotes: 0
Reputation: 2078
It turns out that you need to install the toolchain separately. One toolchain that I found:
llvm4eclipsecdt is available at the eclipse marketplace.
There may be other toolchains for MinGW development as well.
Upvotes: 1