Go to Post ...the future of FIRST is very bright with all the great students and mentors coming out of the program, staying involved, and contributing their ideas and energy. - Jason Morrella [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 07-02-2005, 14:50
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Error: Unable to locate 'stdio.h'

I'm trying to compile the default camera code, and getting the following error:

Quote:
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066
C:\robo-code\alpha\user_SerialDrv.c:30: unable to locate 'stdio.h'
error 1 spawning C:\mcc18\bin\cpp18
Halting build on first failure as requested.
BUILD FAILED: Mon Feb 07 14:32:47 2005
I've set my paths correctly, I'm running v6.62 of MPLAB.
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #2   Spotlight this post!  
Unread 07-02-2005, 14:55
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Error: Unable to locate 'stdio.h'

Do you have the newest version of the compiler (2.4) installed?
  #3   Spotlight this post!  
Unread 07-02-2005, 15:00
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: Error: Unable to locate 'stdio.h'

Quote:
Originally Posted by Tom Bottiglieri
Do you have the newest version of the compiler (2.4) installed?
Ah, that could be it. I'll check back after trying that.

UPDATE: How do I get it?
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #4   Spotlight this post!  
Unread 09-02-2005, 19:10
GAT-X105 STRIKE's Avatar
GAT-X105 STRIKE GAT-X105 STRIKE is offline
Registered User
#0781
 
Join Date: Feb 2005
Location: Kincardine
Posts: 11
GAT-X105 STRIKE can only hope to improve
Re: Error: Unable to locate 'stdio.h'

It should be on the FIRST website somewhere, or that MPLAB website, but the FTP is down now...
  #5   Spotlight this post!  
Unread 09-02-2005, 19:59
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Error: Unable to locate 'stdio.h'

Quote:
Originally Posted by phrontist
Quote:
Originally Posted by Tom Bottiglieri
Do you have the newest version of the compiler (2.4) installed?
Ah, that could be it.
I don't think stdio.h was included with the 2.2 compiler, so that might be it.

There are other possibilities too, though: Make sure you have C:\MCC18\h listed in the Include Path $(INCDIR) on the "General" tab of the Build Options dialog. (Modify as need if you installed the compiler other than in c:\mcc18.) Also make sure your code has #include <stdio.h>, and not #include "stdio.h". Otherwise the preprocessor will only look for the file in the current directory, and not in $(INCDIR).
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
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
stdio.h complilation error reilly Programming 4 01-02-2005 20:49
PLEASE help me locate pictures from Buckeye ... Stu Bloom Regional Competitions 17 10-05-2004 09:20
Where can we locate another Double Solenoid? David Hoff Pneumatics 1 03-02-2004 00:13


All times are GMT -5. The time now is 13:21.

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