Go to Post Mark McLeod, one of the resident experts on compiler weirdness - Kevin Watson [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-12-2006, 21:58
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Having a major problem w/ code!

For some reason i can not find this file!

C:\Documents and Settings\Teh Pwnerer\Desktop\School!\Robotics\Pervious Years\2005\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.c:30: unable to locate 'stdio.h'
error 1 spawning c:\mcc18\bin\cpp18
Halting build on first failure as requested.


where do i start first? mcc18?
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #2   Spotlight this post!  
Unread 07-12-2006, 22:06
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Having a major problem w/ code!

First two things that come to mind:
  • C-BOT (the compiler) has a 64 byte limitation on file names. Your path is quite large, try moving all the files into something smaller (I have C:\FIRST\Code)
  • Make sure that all the project paths are set correctly. I'm not too sure how to do this without having MPLab in front of me, but I'm sure if you search around you'll find an explanation.
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 07-12-2006, 22:08
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Having a major problem w/ code!

naw dont wrry about it .. ima talk to a couple of ppl to get my set up w/ all the code cuz im soo confused w/ all these different ways of doing it srry for the confusion
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #4   Spotlight this post!  
Unread 07-12-2006, 22:55
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Having a major problem w/ code!

You project location is way to deep
try moving your project to like
c:\robotics\06\
and recompile, you cant go over like 94 characters or something like that

[edit]sorry, didnt see mike already stated this[/edit]
  #5   Spotlight this post!  
Unread 07-12-2006, 22:56
fimmel's Avatar
fimmel fimmel is offline
Founding Mentor, Team 2370
AKA: Forest Immel
FRC #2370 (iBots 2370)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Castleton, Vermont
Posts: 325
fimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond repute
Re: Having a major problem w/ code!

Quote:
Originally Posted by teh_pwnerer795
For some reason i can not find this file!

C:\Documents and Settings\Teh Pwnerer\Desktop\School!\Robotics\Pervious Years\2005\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.c:30: unable to locate 'stdio.h'
error 1 spawning c:\mcc18\bin\cpp18
Halting build on first failure as requested.


where do i start first? mcc18?
i'm no expert but could it be that you just speled something wrong? shouldent it be studio.h?
/forest
__________________



  #6   Spotlight this post!  
Unread 07-12-2006, 22:58
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Having a major problem w/ code!

Quote:
Originally Posted by fimmel
i'm no expert but could it be that you just speled something wrong? shouldent it be studio.h?
/forest
lmao ... possibly... im not too sure.. this is like last years code.. and the programmer graduated ... MAYBE! ... thanxs
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #7   Spotlight this post!  
Unread 08-12-2006, 17:44
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Having a major problem w/ code!

"stdio.h" is common, abbreviation of Standard I/O. It includes things like printf().
  #8   Spotlight this post!  
Unread 08-12-2006, 18:00
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: Having a major problem w/ code!

Quote:
Originally Posted by fimmel
i'm no expert but could it be that you just speled something wrong? shouldent it be studio.h?
/forest
NO!! It is definitely stdio.h.

The problem is most likely that your MPLAB include path isn't configured correctly. We don't use MPLAB so I don't know where the settings are, but I'm sure somebody here will be able to help.
  #9   Spotlight this post!  
Unread 09-12-2006, 11:41
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,809
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: Having a major problem w/ code!

In MPLAB check
Project -> Build Options... -> Project
then on the popup see if "Include Path" is set to c:\mcc18\h

That's where stdio.h is to be found.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-12-2006 at 19:35.
  #10   Spotlight this post!  
Unread 09-12-2006, 17:27
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Having a major problem w/ code!

Quote:
Originally Posted by Mark McLeod View Post
In MPLAB check
Project -> Build Options... -> Project
then on the popup see if "Include Path" is set to c:\mcc18\h

That's where stdio.h is to be found.
yup i have that ... still getting that error tho... for now.. im just gonna get rid of it .... so that way i can work on some other stuff... if any could find out anthing plz let me noe
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #11   Spotlight this post!  
Unread 26-01-2007, 23:21
Plepel Plepel is offline
Registered User
AKA: Chris
FRC #1877 (Gold Diggers)
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Dahlonega
Posts: 8
Plepel is on a distinguished road
Re: Having a major problem w/ code!

Quote:
Originally Posted by Mark McLeod View Post
In MPLAB check
Project -> Build Options... -> Project
then on the popup see if "Include Path" is set to c:\mcc18\h

That's where stdio.h is to be found.
I was having the same problem, and this completly fixed it! Thanks sooo much!
  #12   Spotlight this post!  
Unread 27-01-2007, 21:26
abrockhoff abrockhoff is offline
Team 11 Programming Captain
AKA: Alex Brockhoff
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: New Jersey
Posts: 16
abrockhoff will become famous soon enough
Send a message via AIM to abrockhoff
Re: Having a major problem w/ code!

Quote:
Originally Posted by bear24rw View Post
You project location is way to deep
try moving your project to like
c:\robotics\06\
and recompile, you cant go over like 94 characters or something like that

[edit]sorry, didnt see mike already stated this[/edit]
I have to repeat this, try moving your project to a location like c:\code\06 if the path is too long you won't compile.
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
Is anyone else having this problem hpman247 Programming 10 27-11-2008 02:57
Robot having internal heat problem Gene Technical Discussion 24 08-06-2006 14:59
Having a little problem with the camera... capenga Technical Discussion 3 21-01-2005 10:54
Major Inventor Problem Chris Dibble Inventor 5 27-02-2003 11:12
Major problem with chipphua motors aka Scott White Motors 18 19-03-2002 19:44


All times are GMT -5. The time now is 18:11.

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