Thanks for all you guys' help!! I got it to work I try downloading older versions of Mplab v7.60 and C18 v2.40 and I downloaded Elevation - Appendix D (Programming Guide) from
http://www.vexforum.com/wiki/index.php/Elevation
when you extract the file it willgive you the VexCode file and deleting the old library files and adding a new one Vex_2008_library.lib from the MPLAB-Autonomous-Code Rev2 - Vex Code
now when I build the mpw file it gives me
Clean: Done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\h" "user_routines_fast.c" -fo="user_routines_fast.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\h" "ifi_startup.c" -fo="ifi_startup.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\h" "printf_lib.c" -fo="printf_lib.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\h" "user_routines.c" -fo="user_routines.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\h" "ifi_utilities.c" -fo="ifi_utilities.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\h" "main.c" -fo="main.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "C:\VexCode\18f8520user.lkr" "C:\VexCode\user_routines_fast.o" "C:\VexCode\ifi_startup.o" "C:\VexCode\printf_lib.o" "C:\VexCode\user_routines.o" "C:\VexCode\ifi_utilities.o" "C:\VexCode\main.o" "C:\VexCode\Vex_2008_library.lib" /o"VexUserCode.cof"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Errors : 0
MP2COD 3.90, COFF to COD File Converter
Copyright (c) 2004 Microchip Technology Inc.
Errors : 0
MP2HEX 3.90, COFF to HEX File Converter
Copyright (c) 2004 Microchip Technology Inc.
Errors : 0
Loaded C:\VexCode\VexUserCode.cof.
BUILD SUCCEEDED: Wed Aug 04 00:08:48 2010
once again thanks for all your help!! Happy programming!