Log in

View Full Version : Problem compiling edubot


Ben B
13-01-2004, 22:02
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? :ahh:

Mark McLeod
13-01-2004, 22:09
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.."

Larry Barello
13-01-2004, 23:55
The simple answer: move your development directory from your desktop to c:\ (the root of the C drive).

echos
14-01-2004, 00:51
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.