Sorry to bring up a dead topic, but I still can't get "adc.h" to be found. I have changed "C:MCC18h for Include Path" about a half a dozen times, and it still doesn't work. I searched all the forums (I think), and I can't find anything. I think I have compiled code before (not sure about this, but found code from about a year ago on an isolated laptop.) It is an isolated laptop, wasn't used for competition, Win. 98, and the "adc.h" file exists cause I have found it on the hard disk. The code was based off the default code (maybe 2/24/04 default), the only changes were a lot of trimming in Default_Routines and a little new code in that routine. The complier says:
Code:
Executing: "c:mcc18binmcc18.exe" -p=18F8520 "MAIN.C" -fo="MAIN.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:Steven11_10_04ifi_aliases.h:18: unable to locate 'adc.h'
error 1 spawning c:mcc18bincpp18
Halting build on first failure as requested.
BUILD FAILED: Sat Nov 13 01:02:08 2004
Any Ideas?