cancel
Showing results for 
Search instead for 
Did you mean: 

Where do I set the include path on STM32CubeIDE?

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Cartu38 OpenDev
Lead II

0693W00000Nps7AQAR.jpgPay attention to ':' char added prior file name. Both are reauired library path AND library name

View solution in original post

5 REPLIES 5
Cartu38 OpenDev
Lead II

0693W00000Nps7AQAR.jpgPay attention to ':' char added prior file name. Both are reauired library path AND library name

Andrew Neil
Evangelist III

"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.

Thanks.

If works fine please tag as answered. It will help community to dig shortly to helpful content. Thanks.

@ksjfhasiudfhask;dfhas​ - like this:

0693W000008y9fZQAQ.png