View Single Post
  #4   Spotlight this post!  
Unread 23-08-2009, 09:32
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: MPLAB error: Error [1027] unable to locate 'serial_ports.h'

That basically means that something is doing a #include "serial_ports.h" (probably in the camera code), but the compiler can't find that file. If you see that file in your filesystem, the way to fix it is to add it to your include path (directory). There's a setting somewhere in the project settings (something like Project -> Build Options... -> Project).

Do a Windows find for serial_ports.h if you're not sure if you don't have the file or need the path.

If you don't have the file (I'm not sure if that comes with the camera code or not), try grabbing Kevin's serial port code (frc_serial_ports.zip)
http://kevin.org/frc/