View Single Post
  #10   Spotlight this post!  
Unread 04-02-2006, 18:03
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: New version of WPILib

Quote:
Originally Posted by Joe Hershberger
Brad,

I'm attempting to compile a student's program that was written and exported from EasyC. I don't have EasyC and as such I'm using MPLab and your library to build the project. Everything goes well until the link step. It then notifies me that the "Coff file format is out of date" for the objects in the lib file. It wants to rebuild the library, but I obviously don't have the source. Naturally, Microchip changed their coff format with the new version of their compiler. I'm using version 3.01 of the compiler, which comes with version 4.01 of the linker. Can you post the source to the library so it can be rebuilt? If not, what version are you using to build the library so I can downgrade?

Thanks,
-Joe
WPILib is built with the version 7.20 of MPLab and 2.40 of the compiler. The newer tools generate a different output file format, and do some (possibly) incompatible optimizations with interrupt handlers. The IFI code which is included with WPILib is also on the older tools and also prevents the use of the new compiler.

To be sure, I'd suggest switching to those versions of the tools. You can get them from the CD that was included in the kit of parts.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute