|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
7.20 compiler and 2006 default code
Why am I getting the " version of compiler supports only the PIC18F8520 processor" error when I compile the default code if I'm using the 2006 default code and the 7.20 IDE.
We want everything to work with the new 2006 controller. The library file I have is the FRC_library_8722.lib file. |
|
#2
|
|||||
|
|||||
|
Re: 7.20 compiler and 2006 default code
7.20 is the IDE version. Go to the command line, and type "mcc18 -v". Mine reports "MPLAB C18 v2.40 Copyright 2000-2004 Microchip Technology Inc."
|
|
#3
|
|||
|
|||
|
Re: 7.20 compiler and 2006 default code
Quote:
Where can I download C18 v2.40 compiler? _- or do I have to hunt down CD we got with kit of parts? Thanks for your help! |
|
#4
|
||||||
|
||||||
|
Re: 7.20 compiler and 2006 default code
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: 7.20 compiler and 2006 default code
Erm, first go to the command line and make sure you're in the mcc directory before typing "mcc18 -v" if you don't know where it is, search for it on your computer and get the directory that way.
|
|
#6
|
||||
|
||||
|
Re: 7.20 compiler and 2006 default code
It should auto-configure the $PATH variable upon installation, works from any directory for me.
Quote:
|
|
#7
|
||||
|
||||
|
Re: 7.20 compiler and 2006 default code
Quote:
|
|
#8
|
||||
|
||||
|
Re: 7.20 compiler and 2006 default code
Quote:
|
|
#9
|
||||||
|
||||||
|
Re: 7.20 compiler and 2006 default code
Quote:
|
|
#10
|
||||
|
||||
|
Re: 7.20 compiler and 2006 default code
Quote:
|
|
#11
|
|||
|
|||
|
Re: 7.20 compiler and 2006 default code
Quote:
Thanks for your help. I'll have to get a copy of c18 v 2.4 somehow - maybe find it! |
|
#12
|
|||||
|
|||||
|
Re: 7.20 compiler and 2006 default code
You can also look at the README.C18 text file in the main mcc18 directory to find the compiler version, e.g.,
in C:/mcc18/README.C18 Code:
Release Notes for MPLAB(r) C18, PICmicro 18Cxx C compiler v2.40 17 November 2004 ---------------------------------------------------------------------- Table of Contents ---------------------------------------------------------------------- |
|
#13
|
|||
|
|||
|
Re: 7.20 compiler and 2006 default code
Quote:
We had a similar error when we tried to use WPILib. I fixed this by installing MPLAB 7.31. It works fine with the MCC18 v2.40 compiler. You can download it here. http://www.microchip.com/stellent/id...&part=SW007002 I hope this fixes your problem. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming - Getting Started | Mark McLeod | Programming | 80 | 16-04-2008 23:37 |
| The 8.2 (or 8.3) Battery Voltage Bug | eugenebrooks | Programming | 167 | 21-02-2008 20:05 |
| 2006 CMUcam2 Code | Kevin Watson | Programming | 81 | 10-02-2007 20:17 |
| Presence of function causes auton to fail??? | Kyveck | Programming | 13 | 16-02-2006 14:48 |
| missing compiler 2006? | Chris.Steimel | Programming | 10 | 12-01-2006 13:33 |