Page 1 of 1

Not finding C compiler even though command line tools installed on Mac

Posted: Mon Dec 28, 2020 5:46 pm
by EadWig
Hello

I'm a Mac user looking to run programs written in C using CodeLite ver14.0.0. So far, I made sure command line tools were installed using Xcode, but upon selecting Build and Run Project, Terminal returns the following error message:

Code: Select all

/tmp/codelite-exec.sh ; exit;
myMac~ % /tmp/codelite-exec.sh ; exit;
/tmp/codelite-exec.sh: line 3: cd: /Users/aesir/Projects/Programming/mytest/build-Debug/lib: No such file or directory
Hit any key to continue... 
Issuing whereis gcc returns:

Code: Select all

/usr/bin/gcc
It would be appreciated if you would help me work out how C programs can be run in CodeLite for Mac.


Thank you in advance,

Ead