cancel
Showing results for 
Search instead for 
Did you mean: 

Assertion failed: Bitmap database has not been initialized

GMeur
Senior

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.

1 REPLY 1
Martin KJELDSEN
Chief III

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 ?