November 08, 2024, 03:16:32 AM

PIC-LCD compiler

Started by kjonev, November 24, 2012, 01:23:04 AM

Previous topic - Next topic

kjonev

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

kjonev

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?

LubOlimex

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
Technical support and documentation manager at Olimex

kenjohn

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

LubOlimex

Hey John,

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

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex