Olimex Support Forum

Microcontrollers => PIC => Topic started by: kjonev on November 24, 2012, 01:23:04 AM

Title: PIC-LCD compiler
Post by: kjonev on November 24, 2012, 01:23:04 AM
Hello,
I' ve bought the PIC LCD PCB. I,ve downloaded code samples but cannot compile.
With C18 compiler I get:
....main.c:9:Error [1027] unable to locate 'pic18.h'
....main.c:10:Error [1027] unable to locate 'pic18f8490.h'
PCB's datasheet says I need C18 compiler. Reading through microchip's forums I assumed that I need another compiler, so I tried woth XC8. But there I get 21 identical errors like this one:
Error   [1347] ; 0. can't find 0x2BC words (0x2bc withtotal) for psect "text19" in class "CODE" (largest unused contiguous range 0x112)
This I suppose is because I have the lite version. Am I supposed to buy me the PRO version, so that I am able to build/run the code or the problem is elsewhere?
Thank you
Title: Re: PIC-LCD compiler
Post by: kjonev on November 24, 2012, 05:19:40 PM
So I installed 60 days trial PRO compiler and it builds it. But how am I suppose to buy a $995 compiler for a university thesis?
Title: Re: PIC-LCD compiler
Post by: LubOlimex on November 27, 2012, 02:41:48 PM
You may use the new MPLAB X where the compilers are free. Use the import MPLAB 8.xx project tool and adjust the code (functions) if needed. 

Best regards,
Lub/OLIMEX
Title: Re: PIC-LCD compiler
Post by: kenjohn on March 28, 2014, 11:01:33 PM
"You may use the new MPLAB X where the compilers are free."

Hi Lub, or anyone who can help,
Does this still apply? I've changed to MPLAB X and it is still using MPLAB C18 3.47 and saying I have 57 days before I have to shell out £300 for the software.

I can't see on the Microchip site if there is another package to download.

Am I missing something?

Any help would be appreciated.

Thanks.

John.
Title: Re: PIC-LCD compiler
Post by: LubOlimex on March 31, 2014, 03:17:13 PM
Hey John,

Please check my reply about the compiler here: https://www.olimex.com/forum/index.php?topic=2990.msg12566#msg12566 (https://www.olimex.com/forum/index.php?topic=2990.msg12566#msg12566)

Best regards,
Lub/OLIMEX