View Full Version : 7.20 compiler and 2006 default code
pagemauck
10-04-2006, 09:24
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.
Greg Ross
10-04-2006, 11:24
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."
pagemauck
11-04-2006, 07:48
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."
I tried this but get 'mcc18' not recognized as a command from command line. ( This is a Win2000 laptop).
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!
Joe Ross
11-04-2006, 09:55
or do I have to hunt down CD we got with kit of parts?
Unfortunately, that's what you have to do.
Kevin Sevcik
11-04-2006, 11:20
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.
Matt Krass
11-04-2006, 11:33
It should auto-configure the $PATH variable upon installation, works from any directory for me.
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.
It should auto-configure the $PATH variable upon installation, works from any directory for me.
I'm not sure, but I believe that was optional. If I remember correctly, on the setup there were check boxes for options like that, but all were unchecked by default.
ForgottenSalad
11-04-2006, 13:35
Unfortunately, that's what you have to do.
Isn't there also the student version of the compiler online?
Joe Ross
11-04-2006, 16:10
Isn't there also the student version of the compiler online?
It's been replaced with a student version of version 3, which isn't compatible.
Rickertsen2
11-04-2006, 16:57
I'm not sure, but I believe that was optional. If I remember correctly, on the setup there were check boxes for options like that, but all were unchecked by default.
It is optional
pagemauck
12-04-2006, 09:30
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.
Went to the mcc18 directory - didn't see an mcc directory - typed command and still got error.
Thanks for your help. I'll have to get a copy of c18 v 2.4 somehow - maybe find it!
Mark McLeod
12-04-2006, 12:00
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
Release Notes for MPLAB(r) C18, PICmicro 18Cxx C compiler
v2.40
17 November 2004
----------------------------------------------------------------------
Table of Contents
----------------------------------------------------------------------
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.
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/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&part=SW007002
I hope this fixes your problem.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.