Go to Post NOOOOOOOOOOOOooooooo!!!!! I hate regolith. - apalrd [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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 10-15-2005, 01:08 PM
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
C18 Compiler v.3.00 Problems

Does anyone know if the new C18 compiler from Microchip works with the default code? I installed it today (The upgrade to 3.00 works perfectly if you already have v. 2.40 or higher installed) and tried it out (along with MPLAB version 7.21 and my Eclipse plug-in.)

In MPLAB, I first got an error saying:
MPLINK 3.94, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - Coff file 'C:FrcCode2005v2.4main.o' does not appear to be a valid COFF file.
Errors : 1

In Eclipse, I got an error saying:
MPLINK 4.00, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - Coff file format for 'ifi_library.o' is out of date.
Error - Could not build member 'ifi_library.o' in library file '..FRC_Library.lib'.
Errors : 2
I then read some of the documentation and it said that you have to use MPLINK v. 4.00 with the new compiler. So I changed this MPLAB but I still got a similar error to Eclipse:
MPLINK 4.00, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - Coff file format for 'ifi_library.o' is out of date.
Error - Could not build member 'ifi_library.o' in library file 'C:FrcCode2005v2.4FRC_library.lib'.
Errors : 2

Is this error showing up because, the libraries provided with the default code only work with the old versions of the compiler, or is it something else?
  #2   Spotlight this post!  
Unread 10-16-2005, 12:27 AM
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,443
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: C18 Compiler v.3.00 Problems

Quote:
Originally Posted by prograid
...Is this error showing up because, the libraries provided with the default code only work with the old versions of the compiler, or is it something else?
I believe that the default librarys were compiled with the old compiler which is giving problems to the new linker.

If I were you, I'd ask IFI to recompile the libraries for you with the new compiler. If they say no, you are going to have to stay with V2.4 like the rest of us...

From the readme file of C18 compiler V3.00:

Quote:
----------------------------------------------------------------------
1. Important MPLINK and MPLAB IDE Compatibility Note
----------------------------------------------------------------------

Due to a change in COFF file format, MPLAB C18 v3.00 and later will
not be compatible with versions of MPLINK prior to v4.00 or
versions of the MPLAB IDE prior to v7.21.
MPLAB C18 v3.00 and later will have backward compatibility to earlier
versions at the source level only. Any existing object files or
libraries compiled with earlier versions of the tools will not link
using new versions of the tools. They will need to be recompiled
from source.
Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #3   Spotlight this post!  
Unread 10-17-2005, 01:49 PM
kc8nod's Avatar
kc8nod kc8nod is offline
Registered User
AKA: Ted Hansen
FRC #1216 (Knights)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Oak Park Michigan
Posts: 43
kc8nod is on a distinguished road
Re: C18 Compiler v.3.00 Problems

I just posted this question on the ifirobotics forums. Stay tuned for an answer.

http://www.ifirobotics.com/forum/viewtopic.php?t=421
  #4   Spotlight this post!  
Unread 10-17-2005, 07:42 PM
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: C18 Compiler v.3.00 Problems

I posted a similar question on the vexlabs forum.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #5   Spotlight this post!  
Unread 10-19-2005, 11:25 AM
kc8nod's Avatar
kc8nod kc8nod is offline
Registered User
AKA: Ted Hansen
FRC #1216 (Knights)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Oak Park Michigan
Posts: 43
kc8nod is on a distinguished road
Re: C18 Compiler v.3.00 Problems

Looks like ifirobotics will not be updating the library. At least not the one from the old code. So for now we must use the old compiler.

http://www.ifirobotics.com/forum/viewtopic.php?p=523

Will they be upgrading to the 3.00 compiler for 2006? If so, I hope they make it known soon.
  #6   Spotlight this post!  
Unread 01-10-2006, 08:00 PM
BotLobsta BotLobsta is offline
Registered User
FRC #1477
 
Join Date: Jan 2006
Location: Texas
Posts: 4
BotLobsta is an unknown quantity at this point
Re: C18 Compiler v.3.00 Problems

Does anyone have the old compiler installer that they would like to provide since it is not available online anywhere?
  #7   Spotlight this post!  
Unread 01-10-2006, 09:10 PM
devicenull devicenull is offline
Robot? We need a robot?
AKA: Brian Rak
None #0230 (Gaelhawks)
Team Role: Programmer
 
Join Date: Sep 2004
Location: Shelton, CT
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: C18 Compiler v.3.00 Problems

Quote:
Originally Posted by BotLobsta
Does anyone have the old compiler installer that they would like to provide since it is not available online anywhere?
It's on the CD you got, if you didn't get the CD, contact FIRST. I'd post it, but A) they specifically asked us not to distribute it last year, and B) its a commerical product (which would make me posting it... illegal)
__________________


Quote:
Originally Posted by GDC
If the RC is mounted in such a way that field personnel must be contorted, bent, folded, spindled or mutilated in order to see the RC, then the RC must be relocated.
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
Compiler Optimizations Robby Programming 4 02-23-2005 10:36 AM
Compiler problems katkana Programming 2 02-03-2005 05:29 PM
IMPORTANT regarding the new C Compiler dlavery General Forum 12 01-14-2005 04:05 AM
Linux C18 compiler? Servo888 Robotics Education and Curriculum 1 12-13-2003 12:27 AM


All times are GMT -5. The time now is 11:59 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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