Ask Your Question

Eclipse cant find c\c++ compiler\linker but i can run them from shell

asked 2012-08-22 14:32:00 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.


The question pretty much sums it up. I have tried switching between the cross compiler suggestion and the linux compiler in the eclipse settings with no change. Switching to minGW did not work either. As stated both the mingw and cdt compiler packages are installed and they all run when i start them from the shell. But eclipse cant find binarys for any of them nor does the program appear to recognise the code (no syntax highlighting). Sorry for the bad english bye the way.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-30 21:21:26 -0500

Once you install minGw. You have to select the minGW while creating the project. Also check in you path that MinGW path is given in environment variable

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-08-22 14:32:00 -0500

Seen: 710 times

Last updated: Sep 30 '12