View Single Post
  #2   Spotlight this post!  
Unread 19-01-2007, 12:44
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: Simple question on MPLabs

You just don't have the path set that tells the compiler where to find the system include files.

In MPLAB pull-down:
Project -> Build Options... -> Project

Set "Include Path" to C:\mcc18\h (you can browse there)
and
Set "Library Path" to C:\mcc18\lib

P.S.
You don't want to use any system files, such as stdio.h, from any other compiler than what came with mcc18.
They are Microchip PIC and C18 specific.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-01-2007 at 12:48.