Page 1 of 1

Newbie First Build Problem Mac

Posted: Sat Feb 14, 2015 1:57 am
by Dan34567
Hi,

I am starting to learn C++ on Mac OS X using CodeLite. I created a Hello World program and specified clang and lldb. When I build and run I get:

Code: Select all

/bin/sh -c 'make -j4 -e -f  Makefile'
----------Building project:[ HelloWorld - Debug ]----------
/bin/sh: codelite-cc: command not found
make[1]: *** [Debug/main.cpp.o.d] Error 127
make: *** [All] Error 2
1 errors, 0 warnings
what is codelite-cc and how do I fix this?

TIA,
Dan

Re: Newbie First Build Problem Mac

Posted: Sat Feb 14, 2015 10:35 am
by eranif
I am guessing that you don't really need codelite-cc (which is a wrapper executable)
To remove this:
settings->code completion->clang and uncheck the option "enable clang code completion"
It does not affect the compiler, just the code completion engine

Eran

Re: Newbie First Build Problem Mac

Posted: Sat Feb 14, 2015 11:30 pm
by Dan34567
That was the problem. Thanks!