Page 1 of 1

Help - Learning C on Mac with Codelite *Missing Malloc.h

Posted: Thu Dec 07, 2017 9:46 pm
by carlosamigos1975
Can anyone help with this?

I'm doing a series of video tutorials and when I encounter malloc.h the programs fail because this file is missing...is this a Mac issue and if so, how could i fix it?

I already have xcode installed.

Re: Help - Learning C on Mac with Codelite *Missing Malloc.h

Posted: Fri Dec 08, 2017 4:35 pm
by carlosamigos1975
I managed to resolve this after finding the answer on a mac forum.....

Once Xcode is installed instead of trying to load malloc.h directly use #include <stdlib.h>

Problem solved :roll: