Compile Error in Arduino 1.5.8

Issue #47 resolved
Anonymous created an issue

When i used the latest Arduino 1.5.8 IDE i got an error with your very nice LCD Library

In file included from ETTsr3W_si5131.ino:7:0: C:\Program Files (x86)\Arduino158\libraries\LCD/LCD.h:421:44: error: 'prog_uchar' does not name a type void createChar(uint8_t location, const prog_uchar charmap[]); ^ C:\Program Files (x86)\Arduino158\libraries\LCD/LCD.h:421:63: error: ISO C++ forbids declaration of 'charmap' with no type [-fpermissive] void createChar(uint8_t location, const prog_uchar charmap[]); ^

but in latest Arduino 1.0.6 work very fine thanks

Comments (5)

  1. Francisco Malpartida repo owner

    The error that you are getting is from a missing call to the avrlib. If you are using the due it will not work. However you can define prog_uchar as a uchar or char for the due environment. This limitation will be removed in feature releases of the library.

  2. Francisco Malpartida repo owner

    This issue has been put on hold till confirmation on what type of board is being used. In any case, there is not much that can be done for AVR boards as mentioned calls are to the avrlib that may not be installed correctly on version 1.5.8 of Arduino IDE.

  3. Log in to comment