I have a little doubt...
I can't compile cause the linker don't find the <stdio.h> (1)
and if I get a <stdio.h> from a common compiler, the linker asks for more two files *.h (2)... and even if I get this two files, then the compiler says that there's a syntax error (3) on the line 174 of <stdio.h> (4)... anyone knows what i could do?
screens:
(1)
Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\main.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.c:30: unable to locate 'stdio.h'
error 1 spawning c:\mcc18\bin\cpp18
Halting build on first failure as requested.
BUILD FAILED: Tue Jan 25 08:51:30 2005
(2)
Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\main.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
C:\mcc18\h\stdio.h:13: unable to locate '_defs.h'
C:\mcc18\h\stdio.h:17: unable to locate '_nfile.h'
error 1 spawning c:\mcc18\bin\cpp18
Halting build on first failure as requested.
BUILD FAILED: Tue Jan 25 09:13:02 2005
(3)
Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\main.o" is up to date.
Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.o" is out of date.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
C:\mcc18\h\stdio.h:174:Error: syntax error
Halting build on first failure as requested.
BUILD FAILED: Tue Jan 25 09:13:52 2005
(4) this is the line 174 from <stdio.h>
char _FAR *_Cdecl _FARFUNC strerror(int __errnum);