I' ve bought the PIC LCD PCB. I,ve downloaded code samples but cannot compile.
With C18 compiler I get:
....main.c:9:Error  unable to locate 'pic18.h'
....main.c:10:Error  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  ; 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?
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?
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.
"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.
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)