Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   MPLab build error (http://www.chiefdelphi.com/forums/showthread.php?t=32773)

Derek t 14-01-2005 15:31

MPLab build error
 
I can't seem to find out why this error is occurring. Does anyone know how to fix this? when I try to build the code it gives me this:

Executing: "C:\Program Files\Microchip\MPASM Suite\MPLink.exe" /l"C:\mcc18\lib" "18f8520user.lkr" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\main.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\user_routines_fas t.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\user_routines.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\printf_lib.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\ifi_utilities.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\ifi_startup.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\robot.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\encoder.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\gyro.o" "C:\Documents and Settings\bis
hop\My Documents\robot code\2005\Navigation_FRC\FrcCode\pid.o" "C:\Documents and Settings\bishop\My Documents\robot code\2005\Navigation_FRC\FrcCode\FRC_library.lib" /m"C:\DOCUME~1\bishop\MYDOCU~1\ROBOTC~1\2005\output \FrcCode.map" /o"FrcCode.cof"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - Could not find linker command file '18f8520user.lkr'.
Errors : 1

BUILD FAILED: Fri Jan 14 13:27:30 2005

Joe Ross 14-01-2005 15:34

Re: MPLab build error
 
The directory where you are storing your code is too long for the compiler to handle. Move your stuff to a shorter directory such as c:\code\

The limit is 63 characters, if I remember correctly.

Derek t 16-01-2005 00:10

Re: MPLab build error
 
ah.... yes. Why didn't I think of that before? had that problem with the last compiler too.... thanks for finding that out! I would have never... the last compiler actually told you that the line was too long.... too bad this one doesnt.

russell 16-01-2005 00:21

Re: MPLab build error
 
Yeah I was just waiting for someone to answer my post about this.

russell 16-01-2005 00:24

Re: MPLab build error
 
wait no. That still didnt do it. My message is a little differnt too. Mine says
Quote:

MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find file 'clib.lib'.
Errors : 1

Astronouth7303 16-01-2005 20:03

Re: MPLab build error
 
Quote:

Originally Posted by russell
wait no. That still didnt do it. My message is a little differnt too. Mine says

Mine said this for a while, too. Go into the project build options (Project > Build Options... > Project), then hit "Suite Defaults". This should fix the problem.

russell 17-01-2005 00:16

Re: MPLab build error
 
sweet! People in another thread have been giving me a million different paths to type in there, and all this time all I had to do was hit default. Of course the name is still too long, but I can fix that! Thanks!

Mark McLeod 17-01-2005 09:33

Re: MPLab build error
 
Quote:

Originally Posted by russell
sweet! People in another thread have been giving me a million different paths to type in there, and all this time all I had to do was hit default.

Sorry about that, I thought you'd already tried Jamie's suggestion.


All times are GMT -5. The time now is 02:46.

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