2023-01-24 04:53 AM
Compiling simulator/main.cpp
Linking build/bin/simulator.exe
../Middlewares/ST/touchgfx/lib/win/mingw32/libtouchgfx.a(PainterRGB565Bitmap.o):(.text+0x307): undefined reference to `touchgfx::paint::rgb565::lineFromRGB565(unsigned short*, unsigned short const*, unsigned int, unsigned char)'
../Middlewares/ST/touchgfx/lib/win/mingw32/libtouchgfx.a(PainterRGB565Bitmap.o):(.text+0x3a3): undefined reference to `touchgfx::paint::rgb565::lineFromARGB8888(unsigned short*, unsigned int const*, unsigned int, unsigned char)'
../Middlewares/ST/touchgfx/lib/win/mingw32/libtouchgfx.a(PainterRGB565Bitmap.o):(.text+0x3e0): undefined reference to `touchgfx::paint::rgb565::tearDown()'
../Middlewares/ST/touchgfx/lib/win/mingw32/libtouchgfx.a(PainterRGB565.o):(.text+0x74): undefined reference to `touchgfx::paint::rgb565::lineFromColor(unsigned short*, unsigned int, unsigned int, unsigned char, unsigned int)'
../Middlewares/ST/touchgfx/lib/win/mingw32/libtouchgfx.a(PainterRGB565.o):(.text+0x8c): undefined reference to `touchgfx::paint::rgb565::tearDown()'
These errors are shown as to be alleviated when the cubemx regenerates, but it hardly behaves as such.
I have regenerated both cubemx version 640 and touchgfx 420
2023-01-27 04:37 AM
Hello @rohan_m,
Could you try to generate with 4.21.0 or 4.20.0 and let me know if you still have those issues.
Thanks,
/Yoann
2023-01-27 04:50 AM
Yes I just evaluated these images and can confirm that the images that are using the RGB565 and L8_RGB565 are not working. L8_RGB8888 images are working I can confirm that.
And yes I am generating this with 420 version
2023-01-27 04:54 AM
Could you delete your Middlewares/ST folder and regenerate code in Designer, and then try again please ?
/Yoann