Problems adding a new library .a
Hi,
To load a library, the best way is to
- Set a -L option with the directory where the library is:
- project properties >> C/C++ Build >> Build settings >> MCU GCC Linker >> Libraries >> Libraries search path
- in your case this is
/Users/Gregorio/Desktop/NewMCUfiles/SSD1963(23012018)1/SSD1963/SSD1963/EmWin
- Set a -l option with the library base name:
- project properties >> C/C++ Build >> Build settings >> MCU GCC Linker >> Libraries >> Libraries
- in your case this is
STemWin522_CM4_GCC
The linker will search for libyour_lib_name.a in the library search path provided and should find your library
HTH
Bernard (Ac6)