Skip navigation

Can't compile C programs

190 Views 2 Replies Latest reply: Nov 27, 2012 1:00 PM by carol116 RSS
carol116 Level 1 Level 1 (0 points)
Currently Being Moderated
Nov 27, 2012 12:04 PM

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 and it still does not work. I used the compile line "/Applications/" instead of just "make". Here is what I got


/Applications/ -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)


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.