Ask Your Question

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

asked 2012-08-22 19:32:00 +0000

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-10-01 02:21:26 +0000

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2012-08-22 19:32:00 +0000

Seen: 668 times

Last updated: Oct 01 '12