Where do I set the include path on STM32CubeIDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 11:04 AM
This really seems like a simple thing, but I cannot figure it out. I am getting a linker error "cannot find -l:libtouchgfx-float-abi-hard.a". I can see the file so I know it exists, but it's not finding it. Adding the file manually to the include folder in project explorer does not work.
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 12:51 PM
Pay attention to ':' char added prior file name. Both are reauired library path AND library name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-12 12:51 PM
Pay attention to ':' char added prior file name. Both are reauired library path AND library name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-13 2:36 AM
"Adding the file manually to the include folder in project explorer does not work"
The Include path is for finding Compiler (source code) includes - C header files.
As @Cartu38 OpenDev​ shows, you need the Library path for the Linker to find library files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-13 7:13 AM
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-13 7:51 AM
If works fine please tag as answered. It will help community to dig shortly to helpful content. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-13 8:05 AM
@ksjfhasiudfhask;dfhas​ - like this:
