|
#1
| |||
| |||
| Compiling errors (stdio.h not found)
hi, i am trying to compile jhead for osx, i have installed developer tools to get cc/make working ... but when i try to compile i get the errors: > header file 'stdio.h' not found i had a poke around in /usr/lib/ but couldn't find it? has something gone wrong with my cc install or is it hidden somewhere else where i need to set some enviroment variables??? thanks a lot for your help... ben |
|
#2
| |||
| |||
|
Check /Developer/Documentation/DeveloperTools/Compiler directory for documentation. file://localhost/Developer/Documentation/DeveloperTools/Compiler/Compiler.d.html#pgfId=5068 This one has docs on #include paths |
|
#3
| ||||
| ||||
| a question
Are you compiling with cc in the Terminal, or in ProjectBuilder?
|
|
#4
| |||
| |||
|
in the terminal...
|
|
#5
| ||||
| ||||
| What I just tested...
I just tried compiling this and it worked: #include <stdio.h> int main(int argc, char *argv[]) { printf ("Hello World!\n"); } I found stdio.h living in the /usr/include directory. There was nothing special about my environment; there was no reference to an include directory. Likewise there was no reference to an include directory in my ~/.MacOSX/environment.plist file. It sounds like there's something amiss on your system, but I'm not sure what it might be. |
|
#6
| |||
| |||
|
try this Code: touch include/stdio.h |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| glib errors when compiling libIDL-0.6.8 | kilowatt | Software Programming & Web Scripting | 3 | January 10th, 2005 05:34 PM |
| Kernel/sys/socket.h can not be found | ravenwaver | Software Programming & Web Scripting | 0 | June 2nd, 2002 01:06 PM |
| Problems compiling ncurses | Fahrvergnuugen | Mac OS X System & Mac Software | 3 | April 15th, 2002 01:47 AM |
| Compiling iceS for icecast errors | bluehz | Software Programming & Web Scripting | 0 | February 19th, 2002 06:24 AM |
| Errors compiling pthread (for mysql) on Mac OS X Server | Someone Else | Mac OS X System & Mac Software | 0 | June 12th, 2001 12:26 PM |