View Single Post
  #9   Spotlight this post!  
Unread 01-09-2009, 20:45
rokenboker rokenboker is offline
Registered User
FRC #1236
 
Join Date: Sep 2008
Location: Danville
Posts: 29
rokenboker is an unknown quantity at this point
Re: MPLAB error: Error [1027] unable to locate 'serial_ports.h'

Quote:
Originally Posted by Joe Ross View Post
You are using a very new version of the C18 compiler, and a very old version of Kevin's camera code that wasn't designed to work with newer versions of the C18 compiler.

Kevin's code that supports C18 version 3.0 or higher does not have built in support the camera. If you really need camera support, I recommend starting with ifi_frc_sensor.zip and then start porting the camera code over. It may be a large task. If you just need the serial port support, it's built in to ifi_frc_sensor.zip, but you may still have to do some porting of the wii code, since I'm not sure how much the API changed over time.

In either case, you should be prepared to spend some time digging into the internals of how the code works. It may not be a quick change like it seems that you are expecting.

Alternately, if you could go back to using the version 2.4 of C18, and it might be easier.


thanks, do you know where i can get the 2.4 version of C18 compiler? and, this did not help me with the "unable to locate 'sticks.h'" problem.