![]() |
Hi, I need some help with the MPLAB IDE...
Hello,
Here is my problem: Everytime I try to Build my project (to hex file) I have the next error: "......... ......... ........ ......... MPLINK 3.90, Linker Copyright (c) 2004 Microchip Technology Inc. Error - Coff file 'AARG.O' does not appear to be a valid COFF file. Error - Could not build member 'AARG.O' in library file './clib.lib'. Errors : 2 BUILD FAILED: Tue Jan 02 23:04:19 2007 ". I dont know how to solve this problem, because in my school I dont have this problem, and I use the same code. Even when I use Default Code, it doesnt work at my home. Im new to the FIRST competition, so i dont know the MPLAB well yet, so anyone can help me here..? Thanks.. A lot. To contact me through email: nbtk123@gmail.com, MSN: razer@hotmail.co.il |
Re: Hi, I need some help with the MPLAB IDE...
Wow, weird. It's trying to pass a .O file to the COFF reader? Hmm...try a clean build--delete all .O files from the directory and try again. After that, if it was me, I'd re-install MPLAB.
That's the strangest thing I've seen yet... JBot |
Re: Hi, I need some help with the MPLAB IDE...
Are you sure you are using version 2.4 of mcc18? I think that might be the issue.
|
Re: Hi, I need some help with the MPLAB IDE...
I'll backup Chris on his answer.
That error message indicates that at home you are using a Microchip compiler later than the c18 v2.4 we are using for FIRST. You must use the same compiler version you have at school. It was sent to your team on a CD in the Kit-Of-Parts. You cannot use the latest version of the Microchip compiler, because it is incompatible with the ifi libraries compiled under the older v2.4. |
Re: Hi, I need some help with the MPLAB IDE...
Maybe.. Because at school I have MPLAB IDE 7.20, and at home its 7.30.
I had a problem with my C18 Compiler so I took the compiler from school (on a flash disk) and I put it at home. At school i use code v2.2, and at home too... Do you think that my problem is different versions...? at school i could load a 2.4 code with MPLAB IDE 7.20... thanks |
Re: Hi, I need some help with the MPLAB IDE...
Quote:
You'll need either the original installation disk or to copy the c:\mcc18 directory (that's the install location, by default, of the MPLAB C18 compiler). |
Re: Hi, I need some help with the MPLAB IDE...
Quote:
Could be because you didn't take the whole mcc18 directory from school as Cjmovie suggested, or could be because MPLAB is pointing to parts of your original home C18 directory or your original C18 compiler. To check the latter: -- look in MPLAB under Project->Build Options->Project and see if the directory paths listed there point to the correct C18 version. -- look in MPLAB under Project -> Select Language Toolsuite to see if each of the directory paths for every tool is where it should be. |
Re: Hi, I need some help with the MPLAB IDE...
I believe you get download a student version of C18 complier v2.4 from www.microchip.com, but i haven't looked for it. You just need to make sure that is is v2.4.
|
Re: Hi, I need some help with the MPLAB IDE...
OK I started everything from the beginning...
I removed my MPLAB 7.20 and the C18 too. Then I downloaded & istalled the MPLAB 7.20 & MPLAB C18 from this link: https://jvex-robotics.dev.java.net/ToolChainSetup.html it works now, but something is weird: When I installed it on D drive it didnt work, It says that it couldnt find the file clib.lib... But now it's installed on C drive it wroks... anybody knows the reason? thanks a lot... now im OK :) |
Re: Hi, I need some help with the MPLAB IDE...
As Mark said above you would have to direct MPLAB to look for the C18 header files in a different location not the default c:\mcc18
Quote:
|
| All times are GMT -5. The time now is 01:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi