PlatformIO Community

VSC lib_deps not working

I’ve tried PlatformIO with VSC a while back, but I was overwhelmed by the different problems I was having and just returned to Arduino IDE. I’m having trouble getting the libraries to be recognized in my project.

I currently have a project that requires two additional libraries INA219 and u8g2.
Added library dependencies to .ini and also added the library to the project.


platform = espressif32
board = esp32dev
framework = arduino
lib_deps = 

  adafruit/Adafruit INA219 @ ^1.1.1


  olikraus/U8glib @ ^1.19.1


#include <Wire.h>
#include <Adafruit_INA219.h>
#include <U8g2lib.h>


Cannot open source file. “Adafruit_INA219.h”
Cannot open source file. “U8g2lib.h”

Seems like a very simple problem/fix, yet cannot figure it out. Any advice on this would be very much appreciated!

Ctrl+Shift+P → Rebuild IntelliSense.