Go to Post quite simply, not putting our best foot forward leaves us open to shooting ourselves in the foot. - Jessica Boucher [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 28-10-2008, 18:27
GRS GRS is offline
Registered User
FRC #1764
 
Join Date: Jan 2008
Location: KC, MO
Posts: 34
GRS is an unknown quantity at this point
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
  #2   Spotlight this post!  
Unread 28-10-2008, 22:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,754
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: 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"
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 29-10-2008 at 12:02.
  #3   Spotlight this post!  
Unread 04-11-2008, 10:31
MarkO's Avatar
MarkO MarkO is offline
Registered User
AKA: Mark D. Overholser
FRC #0957 (WATSON Robotics team)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Albany, Oregon, USA
Posts: 17
MarkO is an unknown quantity at this point
Re: MPLAB Compile Error with MPLIB

Quote:
Originally Posted by GRS View Post
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???
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
Code Won't Compile in MPLab with WPILib Inverted Programming 1 20-02-2007 22:12
const array - 'auto' compile error ? oddjob Programming 10 17-02-2007 01:36
compile error Chuck Merja Programming 3 17-02-2005 15:02
InterruptVectorLow error when we compile Redneck Programming 5 02-02-2005 22:57
Compile error blindguyinanorg Programming 4 12-02-2004 19:49


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

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