Board: F103RB
Mbed Version: 6.2.1
Method: Mbed Studio: 1.2.1
I am trying to use the UniGraphic library but I receive errors. Is the library not compatible?
The library compiles in the online compiler.
What to use for the ILI9341/ILI9488/ST7796s devices into Mbed Studio?
Compile [ 97.4%]: LCD.cpp
[Error] TextDisplay.h@23,28: expected class name
[Error] Terminal6x8.h@10,1: C++ requires a type specifier for all declarations
[Error] Terminal6x8.h@10,11: expected ‘;’ after top level declarator
[ERROR] In file included from .\UniGraphic\Display\LCD.cpp:21:
In file included from ./UniGraphic/Display/LCD.h:16:
In file included from ./UniGraphic/Graphics\GraphicsDisplay.h:17:
./UniGraphic/Graphics/TextDisplay.h:23:28: error: expected class name
class TextDisplay : public Stream {
^
In file included from .\UniGraphic\Display\LCD.cpp:21:
In file included from ./UniGraphic/Display/LCD.h:16:
In file included from ./UniGraphic/Graphics\GraphicsDisplay.h:18:
./UniGraphic/Font\Terminal6x8.h:10:1: error: C++ requires a type specifier for all declarations
__align(2)
^
./UniGraphic/Font\Terminal6x8.h:10:11: error: expected ‘;’ after top level declarator
__align(2)
^
;
3 errors generated.