Go to Post Did Dean by any chance mention red herrings? ;) - Cory [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-08-2010, 16:08
siaohuang siaohuang is offline
Registered User
no team
 
Join Date: Aug 2010
Location: Fort Wayne IN
Posts: 10
siaohuang is an unknown quantity at this point
Error - Invalid 18f8520 header file! Vex Robotics Kit

First of all I'm a newbie at the Vex Robotics Kit here are the things I've already done

I've successfully installed Mplab v8.10 and C18 compiler v3.35 , I went through the user guides and successfully build the first program, the "Hello World!!" program,so I think my C compiler is working

I downloaded the Vex Starter Code and extracted to a file called "VexCode" I placed it under the directory C:\mcc18\VexCode I opened VexUserCode.mcw (work space) and imported VexUserCode.mcp (project)

I set the Project--> Build options ---> Project and set the Include search path to C:\mcc18\h and C:\mcc18\VexCode
and the Library search path to C:\mcc18\lib and C:\mcc18\VexCode
and Linker script search path to C:\mcc18\VexCode the Linker script is in the VexCode folder 18f8520user.lkr

Then Build all in the output window it shows

----------------------------------------------------------------------
Debug build of project `C:\mcc18\VexCode\VexUserCode.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Tue Aug 03 03:19:32 2010
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\mcc18\VexCode\VexUserCode.mcs".
Clean: Done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 /i"C:\mcc18\VexCode" -I"C:\mcc18\h" "user_routines_fast.c" -fo="user_routines_fast.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\mcc18\VexCode\ifi_picdefs.h:1289:Error [1099] *** Error - Invalid 18f8520 header file!
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\mcc18\VexCode\VexUserCode.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Tue Aug 03 03:19:32 2010

Can anyone solve this? Thank you for you time!!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header File Missing BloodSoakedTear Programming 1 26-02-2006 16:54
Error in header file p18f8520.h !!! RbtGal1351 Programming 3 17-01-2005 16:03
error - Invalid 18f8520 header file! vtrehan Programming 2 16-11-2004 08:31
Header File error message Mike Yan Programming 2 09-02-2004 11:31
Needing A header file jweric Programming 19 23-01-2004 10:25


All times are GMT -5. The time now is 13:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi