Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   7.20 compiler and 2006 default code (http://www.chiefdelphi.com/forums/showthread.php?t=46452)

pagemauck 10-04-2006 09:24

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.

Greg Ross 10-04-2006 11:24

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."

pagemauck 11-04-2006 07:48

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by GW (Greg) Ross
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

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by pagemauck
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

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.

Matt Krass 11-04-2006 11:33

Re: 7.20 compiler and 2006 default code
 
It should auto-configure the $PATH variable upon installation, works from any directory for me.

Quote:

Originally Posted by Kevin Sevcik
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.


MattD 11-04-2006 13:11

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by Matt Krass
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

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by Joe Ross
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

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by ForgottenSalad
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

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by MattD
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

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by Kevin Sevcik
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

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
----------------------------------------------------------------------


Alex G 20-04-2006 13:51

Re: 7.20 compiler and 2006 default code
 
Quote:

Originally Posted by pagemauck
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/id...&part=SW007002

I hope this fixes your problem.


All times are GMT -5. The time now is 14:21.

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