Go to Post Secure your battery well, or it will fly like a fish. - Nate Laverdure [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 13-01-2004, 22:02
Ben B Ben B is offline
Iceman
AKA: Ben-Jam-In
#0973 (Greyhound Revolutionary Robotics)
Team Role: Student
 
Join Date: Apr 2003
Location: San Luis Obisbo
Posts: 7
Ben B is an unknown quantity at this point
Send a message via AIM to Ben B
Problem compiling edubot

When comiling files for our edubot, this happens:

Deleting intermediary files... done.
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast.c" -fo="user_routines_fast.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mplink.exe" /l"c:\mcc18\lib" "18f8520user.lkr" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\ifi_utilities.o" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\main.o" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\printf_lib.o" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\ifi_startup.o" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\user_routines.o" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\user_routines_fast.o" "C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\ifi_library.lib" /m"EduCode.map" /o"EduCode.cof"
MPLINK 3.40, Linker
Copyright (c) 2003 Microchip Technology Inc.
Errors : 0

MP2COD 3.40, COFF to COD File Converter
Copyright (c) 2003 Microchip Technology Inc.
Error - Source file 'C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\ifi_utilities.c' name exceeds file format maximum of 62 characters.
Errors : 1

BUILD FAILED: Fri Jan 25 18:53:33 2002

We have tried numerous reinstalls, but nothing has worked...

Oh heavens, what will we do?
  #2   Spotlight this post!  
Unread 13-01-2004, 22:09
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,718
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: Problem compiling edubot

Quote:

MP2COD 3.40, COFF to COD File Converter
Copyright (c) 2003 Microchip Technology Inc.
Error - Source file 'C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot\EDU_Default_Code_2003-12-15\ifi_utilities.c' name exceeds file format maximum of 62 characters.
Errors : 1

BUILD FAILED: Fri Jan 25 18:53:33 2002
:

This is an easy one.
You've buried your code too deep.
Even though it looks like it's as high as it can get being on your desktop, on the disk it really isn't because Windows allows for multiple users to each have their own desktop.
Move your EDUbot directory to the top level local disk "C:" directory.
i.e., drag it to My Computer -> local disk (C)

There is a limitation in MPLAB where it can only handle a directory path of 62 characters or less, so you have to keep the source files higher up. In your case you ran over the limit about here:
"C:\Documents and Settings\default\Desktop\Brian's Mess\EDUbot.."
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 14-01-2004 at 10:00.
  #3   Spotlight this post!  
Unread 13-01-2004, 23:55
Larry Barello Larry Barello is offline
http://www.barello.net
#0492 (Titan Robotics Club)
Team Role: Mentor
 
Join Date: Jan 2002
Location: Bellevue, WA
Posts: 85
Larry Barello has a spectacular aura aboutLarry Barello has a spectacular aura about
Re: Problem compiling edubot

The simple answer: move your development directory from your desktop to c:\ (the root of the C drive).
  #4   Spotlight this post!  
Unread 14-01-2004, 00:51
echos's Avatar
echos echos is offline
Jack of all trades
#1125
Team Role: Programmer
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 61
echos will become famous soon enough
Send a message via ICQ to echos Send a message via AIM to echos Send a message via MSN to echos Send a message via Yahoo to echos
Re: Problem compiling edubot

probally the best idea is to get/use a zip drive for storing your project makes it easily portable and is rather seamless as far as access times.
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
Victor problem Andy Baker Electrical 15 24-06-2003 09:49
Ok one problem cantwell03 Programming 3 13-02-2003 07:28
Can RC servos be used with EDUbot? ChrisH Technical Discussion 4 31-12-2002 01:45
The problem with scouting... archiver 2001 10 23-06-2002 23:49
Major problem with chipphua motors aka Scott White Motors 18 19-03-2002 19:44


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

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