Skip to main content
ivainc
Associate III
May 6, 2021
Solved

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

  • May 6, 2021
  • 2 replies
  • 1285 views

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.
Best answer by ivainc

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

2 replies

Khouloud ZEMMELI
ST Employee
May 7, 2021

Hello @Community member​ 

Could you please share your ioc file to check it?

Thanks, Khouloud

ivainc
ivaincAuthorBest answer
Associate III
May 7, 2021

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

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

Thanks for your contribution :)

Khouloud