Skip to main content
connoisseur_de_mimi
Associate III
April 29, 2024
Solved

TouchGFX: linker cannot find file libtouchgfx-float-abi-hard.a

  • April 29, 2024
  • 1 reply
  • 2104 views

I have designed a custom board based on a STM32WB35CE and want to use TouchGFX with it.

I have enabled the TouchGFX Middleware in STM32CubeMX:

connoisseur_de_mimi_0-1714426050984.png

and used the resulting ApplicationTemplate.touchgfx.part file to create a blank user interface with TouchGFX Designer and generated code.

When building the code the linker throws the following error message:

C:/ST/STM32CubeIDE_1.13.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -l:libtouchgfx-float-abi-hard.a: No such file or directory

This "path" is added to the project's library paths when generating code with TouchGFX Designer. Does anyone know how to fix this issue?

Versions:

TouchGFX Designer 4.23.2
STM32CubeIDE 1.15.1
STM32CubeMX 6.11.1

This topic has been closed for replies.
Best answer by connoisseur_de_mimi

I was eventually able to fix this issue by recreating the project from the .ioc file. Same workflow as before:

  • generate code with CubeMX
  • create blank user interface and generate code with TouchGFX Designer
  • generate code with CubeMX again

but no linker issues this time. I'll take it.

1 reply

connoisseur_de_mimi
connoisseur_de_mimiAuthorBest answer
Associate III
April 30, 2024

I was eventually able to fix this issue by recreating the project from the .ioc file. Same workflow as before:

  • generate code with CubeMX
  • create blank user interface and generate code with TouchGFX Designer
  • generate code with CubeMX again

but no linker issues this time. I'll take it.