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

CodeLite installation/troubleshooting forum
EadWig
CodeLite Curious
Posts: 2
Joined: Mon Dec 28, 2020 5:38 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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