Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   MPLAB Compile Error with MPLIB (http://www.chiefdelphi.com/forums/showthread.php?t=69780)

GRS 28-10-2008 18:27

MPLAB Compile Error with MPLIB
 
MPLab IDE v7.20 isn't compiling the old competition code from last year's competition. It compiles the default code just fine however. MPLab C18 Toolsuite locations have been set. Any suggestions?

Quote:

Make: The target "R:\2008-2009\Programming\comp\ifi_startup.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\ifi_utilities.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\main.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\user_routines.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\user_routines_fast.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\user_SerialDrv.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\user_util.o" is up to date.
Make: The target "R:\2008-2009\Programming\comp\comp.lib" is out of date.
Executing: "C:\mcc18\bin\mplib.exe" /c "comp.lib" "R:\2008-2009\Programming\comp\ifi_startup.o" "R:\2008-2009\Programming\comp\ifi_utilities.o" "R:\2008-2009\Programming\comp\main.o" "R:\2008-2009\Programming\comp\user_routines.o" "R:\2008-2009\Programming\comp\user_routines_fast.o" "R:\2008-2009\Programming\comp\user_SerialDrv.o" "R:\2008-2009\Programming\comp\user_util.o" "R:\2008-2009\Programming\comp\FRC_alltimers_8722.lib" "R:\2008-2009\Programming\comp\FRC_library_8722.lib"
MPLIB 3.90, Librarian
Copyright (c) 2004 Microchip Technology Inc.

Error - invalid object filename
Errors : 1

BUILD FAILED: Tue Oct 28 17:03:12 2008

Mark McLeod 28-10-2008 22:56

Re: MPLAB Compile Error with MPLIB
 
P.S. It's your creation of the object library comp.lib with MPLIB that's failing, not any compilation.
You may not be doing what you think you're doing.
Are there multiple projects associated with last year's robot?

This isn't the normal process for compiling code to download to a robot.

How come comp.lib is referenced without the full pathname like everything else is using?
Code:

Executing: "C:\mcc18\bin\mplib.exe" /c "comp.lib"
e.g.
"R:\2008-2009\Programming\comp\comp.lib"

MarkO 04-11-2008 10:31

Re: MPLAB Compile Error with MPLIB
 
Quote:

Originally Posted by GRS (Post 772642)
MPLab IDE v7.20 isn't compiling the old competition code from last year's competition. It compiles the default code just fine however. MPLab C18 Toolsuite locations have been set. Any suggestions?

It almost looks like that MPLIB.EXE is trying to create a Library ("comp.lib")

From these Object Modules (ifi_startup.o, ifi_utilities.o, main.o, user_routines.o, user_routines_fast.o, user_SerialDrv.o, and user_util.o)

And also these Libraries (FRC_alltimers_8722.lib, FRC_library_8722.lib)

Does MPLIB.EXE let you make new Libraries from both Object Modules and old Libraries???


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

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