View Single Post
  #1   Spotlight this post!  
Unread 15-10-2005, 14:08
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?