cancel
Showing results for 
Search instead for 
Did you mean: 

Add a .lib library to a project

Greg Horler
Associate III

I have a .lib file created using KeiluV5 and would like to use it in a CubeIDE project. How do I go about doing this?

I have found reference to Libraries and Library Paths at Project > C/C++ General > Paths and Symbols

I've tried adding my .lib file and path to it respectively, but I do not see any reference to the lib file in my project, as seen in the Project Explorer.

Am I on the right lines, or missing something?

Thanks

GDH
1 REPLY 1
S.Ma
Principal

No a specialist, however wouldn't bet that lib files are by default portable across compilers (CubeIDE is gcc). Making portable lib file requires specific crafting, which I'm not versed on.