View Full Version : Compiling problem

10-18-2006, 05:20 PM
I am using MPLab v.7.31 for vex. I have all the requirements. The sad thing is the compiler is complaining that the "Coff file format for ifi_library.o is out of date". I changed the library file to Vex_alltimers: still not working. NEED HELP!!! Thank you.

Mark McLeod
10-18-2006, 05:34 PM
Your mcc18 compiler is too new.
The ifi libraries require nothing newer or more recent than version 2.4.
(Thanks Mike)

Mike Betts
10-19-2006, 03:10 AM
Your mcc18 compiler is too new.
The ifi libraries require nothing older than version 2.4.


I think you mean "nothing newer" than 2.40...



I don't think that the older compilers are available from Microchip. However, you can order a programming CD from IFI (http://www.vexrobotics.com/programming/index.shtml) for $50


10-19-2006, 02:59 PM
The vex code requires a minimum of MPLab IDE v. 6.62. The other computer we have does not have a lower version.

Mark McLeod
10-19-2006, 03:13 PM
Sorry we weren't clear.
Your MPLAB version is fine, but there is a separate C compiler MPLAB calls that's responsible for your troubles. The Vex code requires an older version of the Microchip C18 compiler than the one you are attempting to use, and won't work with the latest version.

From http://www.vexlabs.com/vex-robotics-downloads.shtml

The Vexlabs Programming Kit ($99) includes a Programming Module, USB-to-Serial cable, RJ14 6-pin cable , the Microchip MPLAB IDE ver 7.2, the Microchip C18 Compiler ver 2.4 for Vex use

Look for the file C:\mcc18\README.C18 on each of your computers, open and read it using Wordpad or similar. It will tell you the C compiler version on the second line.