I’m a fairly new user and struggling with a problem. Using PlatformIO in VS. I started working on a project with the STM32 B-L475E-IOT01A board, and trying to connect the sensors and the WiFi. A problem i ran into in all the different projects I started (started multiple to check where the error was), is that if I install a library using the PlatformIO library tab, it installs the libraries neatly in the pio./libdeps folder. Is this normal? The lib folder seems the more obvious choice.
The problem is when i run my code, errors occur due to the compiler not finding header files on which the header files in the #include in the main file depend.
This is when the libraries are placed in the aforementioned pio./libdeps folder or in the lib folder. A ‘fix’ that works is to place all the header files, so the ones from the #include and the ones that they depend on in separate maps, named after the specific header file in the lib folder. This works for a small project with not a lot of dependencies, but as i want to combine the wifi and multiple sensors it becomes a lot of work and a long process.
Is this a bug, am I incompetent or is there something else at play?
Thanks in advance for any help!
ps. Below some screenshots