Skip to main content
GMeur
Associate III
Jun 3, 2019 10:23 AM UTC
Question

Assertion failed: Bitmap database has not been initialized

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
Jun 3, 2019 10:46 AM UTC

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 ?