2 Replies Latest reply: Nov 27, 2012 1:00 PM by carol116
carol116 Level 1 Level 1 (0 points)

Be for I updated to Lion I could compile C programs, use makefiles and access standard include files like stdio.h from the terminal window. This no longer works. So I got the new Xcode.app and it still does not work. I used the compile line "/Applications/Xcode.app/Contents/Developer/usr/bin/make" instead of just "make". Here is what I got

"

/Applications/Xcode.app/Contents/Developer/usr/bin/gcc -Wall   -c -o lcm.o lcm.c

lcm.c:1:19: error: stdio.h: No such file or directory

make: *** [lcm.o] Error 1

"

Thanks for any help.


MacBook (13-inch Early 2008), Mac OS X (10.7.5)