I’ve seen others ask this same question and all of the answers do not fix nor do they address the problem. So here we go:
I’m taking a tutorial on Youtube and the instructor is using the Arduino IDE (which IMO sucks) this IDE comes with a few libraries that there is no need to add (i.e. Stepper.h). Now when I try to use this library it’s not available. When I look for the library that uses Stepper.h, it is not available in the Platformio libraries.
I tried using the lib_extra_dirs and I put this information in: C:\Users\babyg\Documents\PlatformIO\libraries - Didn’t work so I changed it to:
/Users/babyg/Documents/PlatformIO/libraries - Didn’t work so I went down to the stepper directory nope, then I went to the src directory and again this did not work.
I looked at that web page about Library Options, that is the most confusing slice of information it shows how to not use the directory down to where the files are and to use the generic directory where say all of your libraries will be hosted, but the example is nothing like what it tells you to use. The warning shows c: being used but then in the example it just says /common/library, where might this file be located? is it in the same file as the projects? or where Platformio is installed?
How do you use the lib_extras_deps?
These plain ole libraries that the Arduino has installed as part of their program, maybe Platformio should make those libraries available since most people who have started out on this path will need those libraries while they learn.