How to add an external library in a project?
Hi everyone,
I’m having issues in adding an external library to my project. The lib is for LoRa communication (SX1272), it’s in C++ as well as my project.
The lib folder contains the following folders : debug, enums, radio, registers, typedefs, sx1272 (with .h and .cpp source files).
1. I tried to simply paste the lib folder into my project folder -> the lib files generate errors at build.
2. I added the name and the path of the lib in project properties >> C/C++ Build >> Build settings >> MCU GCC Linker >> Libraries >> Libraries search path as I found in another post -> the lib files still generate errors at build.
Does anybody have another idea?
Thank you in advance for your help.