View Single Post
  #2   Spotlight this post!  
Unread 26-02-2006, 15:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Missing (adc.h) header HELP!

That's indicative of an incomplete MPLAB project setup for a new project.

Under
“Project->Build Options…->Project”
“General” tab
set Include Path to C:\mcc18\h (and Library Path to c:\mcc18\lib)

adc.h is often the first file included (not by you but by ifi_aliases.h) and the compiler cannot find it. It's located at C:\mcc18\h
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-02-2006 at 16:06.