Go to Post I've always responded to the cries of, "robot!" with, "person!" I always get startled looks. It's fun. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2006, 23:22
MacFlightSierra MacFlightSierra is offline
Registered User
FRC #0912 (Iron Lyons)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Toronto
Posts: 19
MacFlightSierra is an unknown quantity at this point
CMU code can't find stdio.h

hey all,

I am trying to compile Kevin Watson's code for the CMU (both the bells and the streamlined give same result), and it cannot locate stdio.h

Error [1027] unable to locate 'stdio.h'

I'm using MPLab 7.20, C18 2.40
anyone had such an error before? any ideas on how to fix it?


thanks, good luck to everybody
  #2   Spotlight this post!  
Unread 10-01-2006, 23:35
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: CMU code can't find stdio.h

Quote:
Originally Posted by MacFlightSierra
hey all,

I am trying to compile Kevin Watson's code for the CMU (both the bells and the streamlined give same result), and it cannot locate stdio.h

Error [1027] unable to locate 'stdio.h'

I'm using MPLab 7.20, C18 2.40
anyone had such an error before? any ideas on how to fix it?


thanks, good luck to everybody
Are you really sure you're using C18 2.40?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 10-01-2006, 23:45
MacFlightSierra MacFlightSierra is offline
Registered User
FRC #0912 (Iron Lyons)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Toronto
Posts: 19
MacFlightSierra is an unknown quantity at this point
Re: CMU code can't find stdio.h

no kidding, I am. MPLAB-C18-v2_40-win32.exe name of file, right of the CBOT 2006 CD.

I installed it in its default dir C:\mcc18 etc (MPLab didnt like it in any other location)

any chance this can be caused by the location of MPLab (non default)?

thank you Kevin, and everybody else
  #4   Spotlight this post!  
Unread 11-01-2006, 12:54
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,789
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: CMU code can't find stdio.h

You are missing the include file path in your project. It sometimes gets dropped when a project is moved to a new machine or when a new project is created.

In MPLAB
Project -> Build Options -> Project

In the pop-up window look for "Include Path" and set it to
C:\mcc18\h

(or for those of you who didn't use the default install directory for the compile, then browse to wherever it is)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 11-01-2006, 17:00
MacFlightSierra MacFlightSierra is offline
Registered User
FRC #0912 (Iron Lyons)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Toronto
Posts: 19
MacFlightSierra is an unknown quantity at this point
Re: CMU code can't find stdio.h

it worked!

Thank you very much Mark, and good luck
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Structure, Organization, Division of Labor! dm0ney Programming 3 28-03-2005 23:08
Problem downloading any Camera code zuckie13 Programming 4 07-02-2005 20:32
Pwm 11, 12 and CMU code Chris Bright Programming 3 01-02-2005 19:34
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
Interrupt timer, executing code asap? SeanCassidy Programming 10 07-03-2004 01:47


All times are GMT -5. The time now is 16:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi