Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   compiler error (http://www.chiefdelphi.com/forums/showthread.php?t=50861)

SgtMillhouse648 02-01-2007 20:15

compiler error
 
hi
ive been trying to compile the camera code and keep getting this error


Executing: "C:\MCC18\bin\mplink.exe" /l"C:\mcc18\lib" "C:\frc_camera\18f8722.lkr" "C:\frc_camera\camera.o" "C:\frc_camera\camera_menu.o" "C:\frc_camera\eeprom.o" "C:\frc_camera\ifi_startup.o" "C:\frc_camera\ifi_utilities.o" "C:\frc_camera\main.o" "C:\frc_camera\serial_ports.o" "C:\frc_camera\terminal.o" "C:\frc_camera\tracking.o" "C:\frc_camera\tracking_menu.o" "C:\frc_camera\user_routines.o" "C:\frc_camera\user_routines_fast.o" "C:\frc_camera\FRC_library.lib" /o"camera.cof" /M"camera.map"
MPLINK 4.02, Linker
Copyright (c) 2006 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:\frc_camera\FRC_library.lib'.
Errors : 2


has anyone gotten this error before, how do i fix it
thanks
malhon

DanDon 02-01-2007 20:18

Re: compiler error
 
Are you sure you're using MCC18 v2.40?

JBotAlan 02-01-2007 20:19

Re: compiler error
 
I have not seen this particular error, however, I have a few suggestions:
-Are you running the versions of MPLAB and C18 that came in the 2006 KOP? If not, there's your problem--newer versions of the C18 compiler will not work to compile our robot code.
-Have you tried a clean build? Does MPLAB say "Deleting file.... .o" a few times before it compiles?
-Which code are you trying to compile?

Good luck
JBot

EDIT: HAH! dhoizner beat me! Oh well, I'll leave this here anyhow

charrisTTI 03-01-2007 08:16

Re: compiler error
 
The IFI libraries were compiled with the old version (2.4). The new linker cannot link those libraries. You need to go back to version 2.4 of the compiler.

SgtMillhouse648 04-01-2007 16:55

Re: compiler error
 
Thanks! I was running the new 3.02 version, so I installed the old version and it works like a dream! I had to do the same thing with IFI Loader too to get it to download to the robot.
Thanks
Malhon

wingnut1705 05-02-2007 15:21

Re: compiler error
 
does anyone know where I can get the 2.4 version of the compiler


All times are GMT -5. The time now is 01:28.

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