Newbie First Build Problem Mac

CodeLite installation/troubleshooting forum
Dan34567
CodeLite Curious
Posts: 7
Joined: Sat Feb 14, 2015 1:52 am
Genuine User: Yes
IDE Question: C++
Contact:

Newbie First Build Problem Mac

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Newbie First Build Problem Mac

Post 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
Make sure you have read the HOW TO POST thread
Dan34567
CodeLite Curious
Posts: 7
Joined: Sat Feb 14, 2015 1:52 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Newbie First Build Problem Mac

Post by Dan34567 »

That was the problem. Thanks!
Post Reply