STM32 VS Code Extenstion with TouchGFX
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 4:58 AM
Hi,
I'm having an issue building TouchGFX project in new VSCode extenstion. When building cmake is throwing an error:
cannot find -ltouchgfx-float-abi-hard: No such file or directory.
Project is builiding and compiling in STM32CubeIDE just fine.
Project is builiding and compiling in STM32CubeIDE just fine.
Solved! Go to Solution.
Labels:
- Labels:
-
TouchGFX
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 7:23 AM
Somewhere in your CMakeList you need to link that library.
We currently use:
target_link_libraries(Remote PRIVATE "${TGFX_ROOT}/touchgfx/lib/core/cortex_m4f/gcc/libtouchgfx-float-abi-hard.a")
Be sure to set TGFX_ROOT to the installation folder first.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-02 7:23 AM
Somewhere in your CMakeList you need to link that library.
We currently use:
target_link_libraries(Remote PRIVATE "${TGFX_ROOT}/touchgfx/lib/core/cortex_m4f/gcc/libtouchgfx-float-abi-hard.a")
Be sure to set TGFX_ROOT to the installation folder first.
