Hi,
Can anyone help me with a compilation error when trying to compile most of the SK40C 16F877 Tutorial Projects.
I am using MPLAB IDE 8.30 and HI-TECH 9.65PL1 compiler and have tried Lite, STD and PRO versions and also 9.60 Lite, STD, and PRO.
Error is [712] C:\.....\Project_4\lcd.c; 276. can't generate code for this expression
I get the same error for PR4, PR5, PR6, PR7, PR9, PR10 & PR15. Only PR2 and PR13 Compile with no errors.
The lcd.c file is the same one as used in all the projects that use an LCD and it compiles fine in PR2 and PR13
Any ideas? or has anyone managed to compile these without any problems?
Please can a member of the Cytron Team confirm which version of MPLAB and Hi-Tech Compiler was used to compile these Projects.
More details about the error message is in my post on the Cytron PIC Microcontroller forum, but from what I have read on the Hi-Tech forum, this error message means that the code statement is too complex for the compiler! So it looks likely to be a compiler error where some versions of the Hi-Tech compiler work ok and others crash with the above error, so I need to find out which one works!
Thanks,
Dave (ddkeo)