How to add lib files
Posted: Sun May 26, 2024 6:24 am
Hi,
I am trying to understand the PlatformIO settings for projects and working on a new project which has external library files (headers & source files) which I have put in the 'lib' directory assuming the main.c file would automatically be able to find the path of these files as long as my include lines where correct. But from several attempts at doing this the program fails to compile and refuses to find the library files? I have included a screenshot am I doing something wrong?
I am trying to understand the PlatformIO settings for projects and working on a new project which has external library files (headers & source files) which I have put in the 'lib' directory assuming the main.c file would automatically be able to find the path of these files as long as my include lines where correct. But from several attempts at doing this the program fails to compile and refuses to find the library files? I have included a screenshot am I doing something wrong?