cancel
Showing results for 
Search instead for 
Did you mean: 

Touch gfx linkers

Aziz
Visitor

When i run target this message appeared plz help me 

'' Compiling Utilities/JPEG/jpeg_utils.c
Compiling Common/Src/system_stm32h7xx_dualcore_boot_cm4_cm7.c
Compiling ASM STM32CubeIDE/CM7/Application/User/Startup/startup_stm32h747xihx.s
Linking CM7/TouchGFX/build/bin/target.elf
CM7gcc/makefile_cm7:442: recipe for target 'CM7/TouchGFX/build/bin/target.elf' failed
/Middlewares/ST/touchgfx/lib/core/cortex_m7/gcc\libtouchgfx-float-abi-hard.a(LCD24bpp.o): In function `touchgfx::LCD24bpp::DecompressorRGB_QOI::blitCopyARGB8888(unsigned char const*, touchgfx::Rect const&, touchgfx::Rect const&, unsigned char)':
(.text._ZN8touchgfx8LCD24bpp19DecompressorRGB_QOI16blitCopyARGB8888EPKhRKNS_4RectES6_h+0x328): undefined reference to `touchgfx::paint::flushLine(unsigned long*, int)'
(.text._ZN8touchgfx8LCD24bpp19DecompressorRGB_QOI16blitCopyARGB8888EPKhRKNS_4RectES6_h+0x4e2): undefined reference to `touchgfx::paint::flushLine(unsigned long*, int)'
CM7/Middlewares/ST/touchgfx/lib/core/cortex_m7/gcc\libtouchgfx-float-abi-hard.a(LCD24bpp.o): In function `touchgfx::LCD24bpp::DecompressorRGB_QOI::blitCopyRGB888(unsigned char const*, touchgfx::Rect const&, touchgfx::Rect const&, unsigned char)':
(.text._ZN8touchgfx8LCD24bpp19DecompressorRGB_QOI14blitCopyRGB888EPKhRKNS_4RectES6_h+0x46a): undefined reference to `touchgfx::paint::flushLine(unsigned long*, int)'
(.text._ZN8touchgfx8LCD24bpp19DecompressorRGB_QOI14blitCopyRGB888EPKhRKNS_4RectES6_h+0x4ea): undefined reference to `touchgfx::paint::flushLine(unsigned long*, int)'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [CM7/TouchGFX/build/bin/target.elf] Error 1
make[3]: Leaving directory 'c:/TouchGFXProjects/MV_Display'
make[2]: *** [generate_assets] Error 2
gcc/makefile_cm7:438: recipe for target 'generate_assets' failed
make[2]: Leaving directory 'c:/TouchGFXProjects/MV_Display'
make[1]: *** [all] Error 2
Makefile_cm7:51: recipe for target 'all' failed
make[1]: Leaving directory 'C:/TouchGFXProjects/MV_Display/gcc'
make: *** [flash] Error 2
../../gcc/Makefile:10: recipe for target 'flash' failed
Failed
Failed
''

1 REPLY 1

What's at CM7gcc/makefile_cm7 line 442?

What source file does touchgfx::paint::flushLine(unsigned long*, int) exist in? Why is that not part of the build / dependency here?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..