View Single Post
  #2   Spotlight this post!  
Unread 21-01-2007, 13:47
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Error when compiling

Generally, that means you don't have your include directories set up properly. So the compiler is looking for these files that you have #included, but cannot find them. Since I don't have MPLAB in front of me, I can't give you exact instructions, but here goes:

Somewhere in the 'project' menu (or a menu similar to 'project'), there should be an option to set up the compiler or linker, or to set include directories. Once you find that menu, you have to input whereever you put kevin watson code that has 'encoder.h' and 'gyro.h'.