Jump to content

Unable to add UGFX in STM32CubeIDE(Eclipse based)?


Recommended Posts

Posted (edited)

Hello all ,

I am trying to integrate "UGFX" into my existing project using the single file inclusion method for that i have followed this link Using Eclipse.

As you know there are various steps are there :steps where source location have to add and than using the filter it is instructed to remove the unnecessary file except the "gfx_mk.c" is not visible in my case and here i am stuck as getting tons of error.

am i doing something wrong please help .

 

cant we have any getting started for STM32Cube IDE?

Error that i received after compilation:

 

./Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:44:14: error: unknown type name 'gU16'
   44 | static const gU16 mf_rlefont_DejaVuSans16_aa_dictionary_offsets[140] = {
      |              ^~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans12_aa.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:123:14: error: unknown type name 'gU16'
  123 | static const gU16 mf_rlefont_DejaVuSans16_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:65:14: error: unknown type name 'gU8'
   65 | static const gU8 mf_rlefont_DejaVuSans16_aa_glyph_data_0[2853] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:138:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  138 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans16_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:142:14: error: variable 'mf_rlefont_DejaVuSans16' has initializer but incomplete type
  142 | const struct mf_rlefont_s mf_rlefont_DejaVuSans16 = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:143:5: error: extra brace group at end of initializer
  143 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:143:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:155:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  155 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:54:14: error: unknown type name 'gU8'
   54 | static const gU8 mf_rlefont_DejaVuSans20_glyph_data_0[1558] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:156:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  156 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:143:5: warning: excess elements in struct initializer
  143 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:143:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:247:14: error: unknown type name 'gU16'
  247 | static const gU16 mf_rlefont_DejaVuSans16_aa_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:262:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  262 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans16_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:158:5: warning: excess elements in struct initializer
  158 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:155:14: error: unknown type name 'gU16'
  155 | static const gU16 mf_rlefont_DejaVuSans20_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:158:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:159:5: warning: excess elements in struct initializer
  159 |     mf_rlefont_DejaVuSans16_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:159:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:266:14: error: variable 'mf_rlefont_DejaVuSans16_aa' has initializer but incomplete type
  266 | const struct mf_rlefont_s mf_rlefont_DejaVuSans16_aa = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:10:2: error: #error The font file is not compatible with this version of mcufont.
   10 | #error The font file is not compatible with this version of mcufont.
      |  ^~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:160:5: warning: excess elements in struct initializer
  160 |     mf_rlefont_DejaVuSans16_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:160:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:13:14: error: unknown type name 'gU8'
   13 | static const gU8 mf_rlefont_DejaVuSans20_aa_dictionary_data[486] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:170:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  170 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans20_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:161:5: warning: excess elements in struct initializer
  161 |     40, /* rle dict count */
      |     ^~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:161:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:267:5: error: extra brace group at end of initializer
  267 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:174:14: error: variable 'mf_rlefont_DejaVuSans20' has initializer but incomplete type
  174 | const struct mf_rlefont_s mf_rlefont_DejaVuSans20 = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:267:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:162:5: warning: excess elements in struct initializer
  162 |     87, /* total dict count */
      |     ^~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:162:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:175:5: error: extra brace group at end of initializer
  175 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:175:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:163:5: warning: excess elements in struct initializer
  163 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:47:14: error: unknown type name 'gU16'
   47 | static const gU16 mf_rlefont_DejaVuSans20_aa_dictionary_offsets[156] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:163:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:164:5: warning: excess elements in struct initializer
  164 |     mf_rlefont_DejaVuSans16_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:164:5: note: (near initialization for 'mf_rlefont_DejaVuSans16')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:142:27: error: storage size of 'mf_rlefont_DejaVuSans16' isn't known
  142 | const struct mf_rlefont_s mf_rlefont_DejaVuSans16 = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:279:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  279 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:70:14: error: unknown type name 'gU8'
   70 | static const gU8 mf_rlefont_DejaVuSans20_aa_glyph_data_0[3979] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:11:2: error: #error The font file is not compatible with this version of mcufont.
   11 | #error The font file is not compatible with this version of mcufont.
      |  ^~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:14:14: error: unknown type name 'gU8'
   14 | static const gU8 mf_rlefont_DejaVuSans24_dictionary_data[395] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:187:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  187 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:280:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  280 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:267:5: warning: excess elements in struct initializer
  267 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:267:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:282:5: warning: excess elements in struct initializer
  282 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:282:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:283:5: warning: excess elements in struct initializer
  283 |     mf_rlefont_DejaVuSans16_aa_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16.c:138:45: warning: 'mf_rlefont_DejaVuSans16_char_ranges' defined but not used [-Wunused-variable]
  138 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans16_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:42:14: error: unknown type name 'gU16'
   42 | static const gU16 mf_rlefont_DejaVuSans24_dictionary_offsets[119] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:188:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  188 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:175:5: warning: excess elements in struct initializer
  175 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:175:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:190:5: warning: excess elements in struct initializer
  190 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:190:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:191:5: warning: excess elements in struct initializer
  191 |     mf_rlefont_DejaVuSans20_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:191:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:322:14: error: unknown type name 'gU16'
  322 | static const gU16 mf_rlefont_DejaVuSans20_aa_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:192:5: warning: excess elements in struct initializer
  192 |     mf_rlefont_DejaVuSans20_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:283:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:60:14: error: unknown type name 'gU8'
   60 | static const gU8 mf_rlefont_DejaVuSans24_glyph_data_0[1873] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:192:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:193:5: warning: excess elements in struct initializer
  193 |     62, /* rle dict count */
      |     ^~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:193:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:194:5: warning: excess elements in struct initializer
  194 |     109, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:194:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:284:5: warning: excess elements in struct initializer
  284 |     mf_rlefont_DejaVuSans16_aa_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:11:2: error: #error The font file is not compatible with this version of mcufont.
   11 | #error The font file is not compatible with this version of mcufont.
      |  ^~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:337:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  337 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans20_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:11:2: error: #error The font file is not compatible with this version of mcufont.
   11 | #error The font file is not compatible with this version of mcufont.
      |  ^~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:284:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:195:5: warning: excess elements in struct initializer
  195 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:14:14: error: unknown type name 'gU8'
   14 | static const gU8 mf_rlefont_DejaVuSans32_dictionary_data[578] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:14:14: error: unknown type name 'gU8'
   14 | static const gU8 mf_rlefont_DejaVuSans24_aa_dictionary_data[596] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:181:14: error: unknown type name 'gU16'
  181 | static const gU16 mf_rlefont_DejaVuSans24_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:195:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:285:5: warning: excess elements in struct initializer
  285 |     113, /* rle dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:341:14: error: variable 'mf_rlefont_DejaVuSans20_aa' has initializer but incomplete type
  341 | const struct mf_rlefont_s mf_rlefont_DejaVuSans20_aa = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:54:14: error: unknown type name 'gU16'
   54 | static const gU16 mf_rlefont_DejaVuSans32_dictionary_offsets[141] = {
      |              ^~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans16.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:285:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:196:5: warning: excess elements in struct initializer
  196 |     mf_rlefont_DejaVuSans20_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:196:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  196 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans24_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:196:5: note: (near initialization for 'mf_rlefont_DejaVuSans20')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:55:14: error: unknown type name 'gU16'
   55 | static const gU16 mf_rlefont_DejaVuSans24_aa_dictionary_offsets[170] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:342:5: error: extra brace group at end of initializer
  342 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:286:5: warning: excess elements in struct initializer
  286 |     139, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:200:14: error: variable 'mf_rlefont_DejaVuSans24' has initializer but incomplete type
  200 | const struct mf_rlefont_s mf_rlefont_DejaVuSans24 = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:75:14: error: unknown type name 'gU8'
   75 | static const gU8 mf_rlefont_DejaVuSans32_glyph_data_0[2504] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:286:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:342:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:201:5: error: extra brace group at end of initializer
  201 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:201:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:174:27: error: storage size of 'mf_rlefont_DejaVuSans20' isn't known
  174 | const struct mf_rlefont_s mf_rlefont_DejaVuSans20 = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:287:5: warning: excess elements in struct initializer
  287 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:80:14: error: unknown type name 'gU8'
   80 | static const gU8 mf_rlefont_DejaVuSans24_aa_glyph_data_0[4800] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:213:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  213 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:354:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  354 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:235:14: error: unknown type name 'gU16'
  235 | static const gU16 mf_rlefont_DejaVuSans32_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:287:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:288:5: warning: excess elements in struct initializer
  288 |     mf_rlefont_DejaVuSans16_aa_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:250:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  250 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans32_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:355:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  355 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:214:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  214 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20.c:170:45: warning: 'mf_rlefont_DejaVuSans20_char_ranges' defined but not used [-Wunused-variable]
  170 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans20_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:288:5: note: (near initialization for 'mf_rlefont_DejaVuSans16_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:201:5: warning: excess elements in struct initializer
  201 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:201:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:342:5: warning: excess elements in struct initializer
  342 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:216:5: warning: excess elements in struct initializer
  216 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:342:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:266:27: error: storage size of 'mf_rlefont_DejaVuSans16_aa' isn't known
  266 | const struct mf_rlefont_s mf_rlefont_DejaVuSans16_aa = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:216:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:357:5: warning: excess elements in struct initializer
  357 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:357:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:254:14: error: variable 'mf_rlefont_DejaVuSans32' has initializer but incomplete type
  254 | const struct mf_rlefont_s mf_rlefont_DejaVuSans32 = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:383:14: error: unknown type name 'gU16'
  383 | static const gU16 mf_rlefont_DejaVuSans24_aa_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:217:5: warning: excess elements in struct initializer
  217 |     mf_rlefont_DejaVuSans24_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.c:262:45: warning: 'mf_rlefont_DejaVuSans16_aa_char_ranges' defined but not used [-Wunused-variable]
  262 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans16_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:217:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:358:5: warning: excess elements in struct initializer
  358 |     mf_rlefont_DejaVuSans20_aa_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:218:5: warning: excess elements in struct initializer
  218 |     mf_rlefont_DejaVuSans24_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:255:5: error: extra brace group at end of initializer
  255 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:398:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  398 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans24_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans20.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:358:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:218:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:359:5: warning: excess elements in struct initializer
  359 |     mf_rlefont_DejaVuSans20_aa_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:359:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:255:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:219:5: warning: excess elements in struct initializer
  219 |     68, /* rle dict count */
      |     ^~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:402:14: error: variable 'mf_rlefont_DejaVuSans24_aa' has initializer but incomplete type
  402 | const struct mf_rlefont_s mf_rlefont_DejaVuSans24_aa = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:11:2: error: #error The font file is not compatible with this version of mcufont.
   11 | #error The font file is not compatible with this version of mcufont.
      |  ^~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:219:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:360:5: warning: excess elements in struct initializer
  360 |     107, /* rle dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:360:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:220:5: warning: excess elements in struct initializer
  220 |     118, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:14:14: error: unknown type name 'gU8'
   14 | static const gU8 mf_rlefont_DejaVuSans32_aa_dictionary_data[740] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:403:5: error: extra brace group at end of initializer
  403 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:361:5: warning: excess elements in struct initializer
  361 |     155, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:220:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:267:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  267 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans16_aa.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:361:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:403:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:64:14: error: unknown type name 'gU16'
   64 | static const gU16 mf_rlefont_DejaVuSans32_aa_dictionary_offsets[188] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:221:5: warning: excess elements in struct initializer
  221 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:221:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:222:5: warning: excess elements in struct initializer
  222 |     mf_rlefont_DejaVuSans24_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:222:5: note: (near initialization for 'mf_rlefont_DejaVuSans24')
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:362:5: warning: excess elements in struct initializer
  362 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:91:14: error: unknown type name 'gU8'
   91 | static const gU8 mf_rlefont_DejaVuSans32_aa_glyph_data_0[6702] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:268:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  268 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:415:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  415 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:11:2: error: #error The font file is not compatible with this version of mcufont.
   11 | #error The font file is not compatible with this version of mcufont.
      |  ^~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:362:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:200:27: error: storage size of 'mf_rlefont_DejaVuSans24' isn't known
  200 | const struct mf_rlefont_s mf_rlefont_DejaVuSans24 = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:14:14: error: unknown type name 'gU8'
   14 | static const gU8 mf_bwfont_DejaVuSansBold12_glyph_data_0[1540] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:255:5: warning: excess elements in struct initializer
  255 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:416:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  416 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:363:5: warning: excess elements in struct initializer
  363 |     mf_rlefont_DejaVuSans20_aa_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24.c:196:45: warning: 'mf_rlefont_DejaVuSans24_char_ranges' defined but not used [-Wunused-variable]
  196 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans24_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:114:14: error: unknown type name 'gU16'
  114 | static const gU16 mf_bwfont_DejaVuSansBold12_glyph_offsets_0[96] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:513:14: error: unknown type name 'gU16'
  513 | static const gU16 mf_rlefont_DejaVuSans32_aa_glyph_offsets_0[95] = {
      |              ^~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:363:5: note: (near initialization for 'mf_rlefont_DejaVuSans20_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:255:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:403:5: warning: excess elements in struct initializer
  403 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:341:27: error: storage size of 'mf_rlefont_DejaVuSans20_aa' isn't known
  341 | const struct mf_rlefont_s mf_rlefont_DejaVuSans20_aa = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:129:14: error: unknown type name 'gU8'
  129 | static const gU8 mf_bwfont_DejaVuSansBold12_glyph_widths_0[95] = {
      |              ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:528:45: error: array type has incomplete element type 'struct mf_rlefont_char_range_s'
  528 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans32_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:403:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:270:5: warning: excess elements in struct initializer
  270 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.c:337:45: warning: 'mf_rlefont_DejaVuSans20_aa_char_ranges' defined but not used [-Wunused-variable]
  337 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans20_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:418:5: warning: excess elements in struct initializer
  418 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:532:14: error: variable 'mf_rlefont_DejaVuSans32_aa' has initializer but incomplete type
  532 | const struct mf_rlefont_s mf_rlefont_DejaVuSans32_aa = {
      |              ^~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:138:44: error: array type has incomplete element type 'struct mf_bwfont_char_range_s'
  138 | static const struct mf_bwfont_char_range_s mf_bwfont_DejaVuSansBold12_char_ranges[] = {
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:270:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:418:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:533:5: error: extra brace group at end of initializer
  533 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:271:5: warning: excess elements in struct initializer
  271 |     mf_rlefont_DejaVuSans32_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:533:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:419:5: warning: excess elements in struct initializer
  419 |     mf_rlefont_DejaVuSans24_aa_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:153:14: error: variable 'mf_bwfont_DejaVuSansBold12' has initializer but incomplete type
  153 | const struct mf_bwfont_s mf_bwfont_DejaVuSansBold12 = {
      |              ^~~~~~~~~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans24.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:271:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:419:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:154:5: error: extra brace group at end of initializer
  154 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:545:6: error: 'mf_rlefont_character_width' undeclared here (not in a function)
  545 |     &mf_rlefont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:154:5: note: (near initialization for 'mf_bwfont_DejaVuSansBold12')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:272:5: warning: excess elements in struct initializer
  272 |     mf_rlefont_DejaVuSans32_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:420:5: warning: excess elements in struct initializer
  420 |     mf_rlefont_DejaVuSans24_aa_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:546:6: error: 'mf_rlefont_render_character' undeclared here (not in a function)
  546 |     &mf_rlefont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:166:6: error: 'mf_bwfont_character_width' undeclared here (not in a function)
  166 |     &mf_bwfont_character_width,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans20_aa.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:272:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:420:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:273:5: warning: excess elements in struct initializer
  273 |     87, /* rle dict count */
      |     ^~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:273:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:274:5: warning: excess elements in struct initializer
  274 |     140, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:274:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:533:5: warning: excess elements in struct initializer
  533 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:421:5: warning: excess elements in struct initializer
  421 |     121, /* rle dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:167:6: error: 'mf_bwfont_render_character' undeclared here (not in a function)
  167 |     &mf_bwfont_render_character,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:421:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:533:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:275:5: warning: excess elements in struct initializer
  275 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:154:5: warning: excess elements in struct initializer
  154 |     {
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:275:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:154:5: note: (near initialization for 'mf_bwfont_DejaVuSansBold12')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:276:5: warning: excess elements in struct initializer
  276 |     mf_rlefont_DejaVuSans32_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:422:5: warning: excess elements in struct initializer
  422 |     169, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:548:5: warning: excess elements in struct initializer
  548 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:276:5: note: (near initialization for 'mf_rlefont_DejaVuSans32')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:422:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:548:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:169:5: warning: excess elements in struct initializer
  169 |     4, /* version */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:169:5: note: (near initialization for 'mf_bwfont_DejaVuSansBold12')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:423:5: warning: excess elements in struct initializer
  423 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:170:5: warning: excess elements in struct initializer
  170 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:549:5: warning: excess elements in struct initializer
  549 |     mf_rlefont_DejaVuSans32_aa_dictionary_data,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:254:27: error: storage size of 'mf_rlefont_DejaVuSans32' isn't known
  254 | const struct mf_rlefont_s mf_rlefont_DejaVuSans32 = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:170:5: note: (near initialization for 'mf_bwfont_DejaVuSansBold12')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:423:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:549:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:171:5: warning: excess elements in struct initializer
  171 |     mf_bwfont_DejaVuSansBold12_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:424:5: warning: excess elements in struct initializer
  424 |     mf_rlefont_DejaVuSans24_aa_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:550:5: warning: excess elements in struct initializer
  550 |     mf_rlefont_DejaVuSans32_aa_dictionary_offsets,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32.c:250:45: warning: 'mf_rlefont_DejaVuSans32_char_ranges' defined but not used [-Wunused-variable]
  250 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans32_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:171:5: note: (near initialization for 'mf_bwfont_DejaVuSansBold12')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:424:5: note: (near initialization for 'mf_rlefont_DejaVuSans24_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:550:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:153:26: error: storage size of 'mf_bwfont_DejaVuSansBold12' isn't known
  153 | const struct mf_bwfont_s mf_bwfont_DejaVuSansBold12 = {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:551:5: warning: excess elements in struct initializer
  551 |     137, /* rle dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:551:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:402:27: error: storage size of 'mf_rlefont_DejaVuSans24_aa' isn't known
  402 | const struct mf_rlefont_s mf_rlefont_DejaVuSans24_aa = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.c:138:44: warning: 'mf_bwfont_DejaVuSansBold12_char_ranges' defined but not used [-Wunused-variable]
  138 | static const struct mf_bwfont_char_range_s mf_bwfont_DejaVuSansBold12_char_ranges[] = {
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:552:5: warning: excess elements in struct initializer
  552 |     187, /* total dict count */
      |     ^~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.c:398:45: warning: 'mf_rlefont_DejaVuSans24_aa_char_ranges' defined but not used [-Wunused-variable]
  398 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans24_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:552:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:553:5: warning: excess elements in struct initializer
  553 |     1, /* char range count */
      |     ^
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:553:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:554:5: warning: excess elements in struct initializer
  554 |     mf_rlefont_DejaVuSans32_aa_char_ranges,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:554:5: note: (near initialization for 'mf_rlefont_DejaVuSans32_aa')
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:532:27: error: storage size of 'mf_rlefont_DejaVuSans32_aa' isn't known
  532 | const struct mf_rlefont_s mf_rlefont_DejaVuSans32_aa = {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans32.o] Error 1
../Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.c:528:45: warning: 'mf_rlefont_DejaVuSans32_aa_char_ranges' defined but not used [-Wunused-variable]
  528 | static const struct mf_rlefont_char_range_s mf_rlefont_DejaVuSans32_aa_char_ranges[] = {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSansBold12.o] Error 1
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans24_aa.o] Error 1
make: *** [Core/UGFX/src/gdisp/fonts/subdir.mk:73: Core/UGFX/src/gdisp/fonts/DejaVuSans32_aa.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.

14:44:30 Build Failed. 142 errors, 100 warnings. (took 5s.66ms)

 

Images for references are given below:

1ugfx.png

2ugfx.png

3_source.png

4_ugfx.png

5_hgfx.png

Edited by Shrikant Vaishnav
Posted

Hey,

Based on the compilation errors it seems like you didn't setup the inclusion paths properly. I haven't used Eclipse in a while, maybe someone else can chime in to help. But I'm fairly certain that it has (at least in part) to do with the paths setup.

Is the use of ${ProjName} valid in those paths? And if so, does it make sense that the paths are prefixed with / ?
Have you tried adding the paths exactly as they are shown in the documentation that you linked (here) ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...