Skip to main content
FMarr.2
Associate III
April 30, 2021
Question

After successfully added a second project to the workspace as static st32 library, I would like to know ho consume this library from the main project. From Path and Symbols I added the library ${workspace_loc:/ModuleA/Debug/libModuleA.a}.

  • April 30, 2021
  • 1 reply
  • 544 views

What else should I do to let my project see header files? Is it correct to add an include path such

C:\Progetti\STM_Projects\ModuleA\Base. But I would like that it sees all the files and possible without an absolute path? What is the correct syntax?

Best Regards

This topic has been closed for replies.

1 reply

Cartu38 OpenDev
Graduate II
April 30, 2021

Proper way to add an archve (.a file) is the following according to me (please note ':' char is added prior library file)

0693W00000AN3q6QAD.jpgThen if you want to prevent some compiler warning rely on include path to point to related .h repository