Skip to main content
ivainc
Associate III
May 6, 2021 2:35 PM UTC
Solved

CubeMX v6.2.1, CubeMX IDE v1.6.1, STM32F103VET6 and STemWin v5.32: cannot connect STemWin532_CM3_GCC.a library

The linker produce a error "cannot find library". See pic. However, I trying to change the lib path to haven't any spaces inside. This not help.

Then I change the lib path to my disk root D: folder and this generate next 'sh' error.

This topic has been closed for replies.
ivainc
ivaincBest answer
Associate III
May 7, 2021 10:31 AM UTC

I fix this problem. The STemWin library *.a files must be connected in CubeIDE (based on Eclipse) as 'other linker object' : Project/Properties/CC++ Build/Settings/Tool Settings/GCC Linker/Misc/Additional Object files. Connecting it other way does not work! Have a 3 days delay to fix this issue...

3 replies

Khouloud ZEMMELI
ST Employee
May 7, 2021 9:53 AM UTC

Hello @Community member​ 

Could you please share your ioc file to check it?

Thanks, Khouloud

ivainc
ivaincAuthorBest answer
Associate III
May 7, 2021 10:31 AM UTC

I fix this problem. The STemWin library *.a files must be connected in CubeIDE (based on Eclipse) as 'other linker object' : Project/Properties/CC++ Build/Settings/Tool Settings/GCC Linker/Misc/Additional Object files. Connecting it other way does not work! Have a 3 days delay to fix this issue...

Khouloud ZEMMELI
ST Employee
May 7, 2021 11:24 AM UTC

Great, I propose you to always use the latest Cube versions :)

Thanks for your contribution :)

Khouloud