I cannot seem to figure out how to use Eclipse CDT.
I am on Mac OS X, and am trying to print "Hello World" in C but I get an error:
Program "gcc" not found in PATH.
What can I do to use C in Eclipse?
I had the same problem. It may be because you don't have GCC compiler installed on your computer.
On OSX, you just have to open the Terminal and check which gcc
. If it doesn't return a path, then install GCC from here.
Once installed, this command should return the path :
I just had to restart Eclipse and everything worked well then.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With