OZONE Asylum
Forums
OZONE
Problems building C
This page's ID:
29707
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[code] cubiecube.c:4:20: error: string.h: No such file or directory This errorsays the compiler can't find 'string.h' in you include path. IF you have string.h on your system (for example, in /usr/include) the compiler can't find it. Did you install the standatd c libraties when you installed gcc? cubiecube.c:5:19: error: ctype.h: No such file or directory This error is the same as the one above, just for a different include file. Your compiler can't find ctype.h. cubiecube.c: In function ?stringToCubieCube?: I don't know about this error. It looks as if your code is making a call to a function that should be defined in your code or another file in the code you downloaded from the Rubic's Cube. It's possible you haven't downloaded the other file or the other errors are keeping this function from compiling. Don't worry about this error right now. When you fix the others, this one may go away. IF it doesn't, we'll worry about it when the others are fixed. cubiecube.c:214: warning: implicit declaration of function ?strstr? cubiecube.c:214: warning: incompatible implicit declaration of built-in function ?strstr? These errors are because the compiter was not able to find string.h. See above. cubiecube.c:215: error: ?NULL? undeclared (first use in this function) cubiecube.c:215: error: (Each undeclared identifier is reported only once cubiecube.c:215: error: for each function it appears in.) These errors are because the compiler couldn't find ctype.h. See above. cubiecube.c:216: warning: implicit declaration of function ?strlen? cubiecube.c:216: warning: incompatible implicit declaration of built-in function ?strlen? cubiecube.c:219: warning: implicit declaration of function ?toupper? These errors are because the compiter was not able to find string.h. See above. [/code] You might also look on your system for strings.h. The names of the include files sometimes change from distribution to distribution . -- not necessarily stoned... just beautiful. [url=http://www.hyperbole-software.com/] [img]http://www.hyperbole-software.com/ozone/hyperbole-88x33.gif[/img] [/url] [small](Edited by [url=http://www.ozoneasylum.com/user/388]hyperbole[/url] on 11-23-2007 22:43)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »