Skip to main content
GMeur
Associate III
June 3, 2019
Question

Assertion failed: Bitmap database has not been initialized

  • June 3, 2019
  • 1 reply
  • 928 views

Hi,

I'm currently creating the following array in a .hpp file (see joined image) but I get an "assertion failed" error whenever I try to run my code because the bitmap database has not yet been initialized and the bitmap values are different from zero in my array.

I'm confused because I took inspiration from the keyboard example and it's exactly what is done. Therefore, what am I missing?

Thanks in advance for your help.

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
June 3, 2019

Hi @GMeur​,

When are you trying to run your code? the method touchgfx_generic_init() will initialize the Bitmapdatabase through registerBitmapDatabase() - Is touchgfx_generic_init called ?