Dallastemperature.h and onewire.h is not found on both atom and vscode on MacOS

Hi

I am trying the Dallastemperature example. I did not chanfge anything to that code. It constantly complains that it cannot find the dependencies onwire.h

after running pio lib list

it returns:

Library Storage: /Users/jan/Documents/PlatformIO/Projects/Fermenter/.piolibdeps
DallasTemperature

#ID: 54
Arduino Library for Dallas Temperature ICs (DS18B20, DS18S20, DS1822, DS1820)

Version: 3.8.0
Keywords: bus, sensor, 1-wire, onewire, temperature
Compatible frameworks: arduino
Compatible platforms: atmelavr, atmelsam, espressif32, espressif8266, intel_arc32, microchippic32, nordicnrf51, nordicnrf52, st
stm32, teensy, timsp430
Authors: Miles Burton, Tim Newsome, Guil Barros, Rob Tillaart

OneWire

#ID: 1
Control 1-Wire protocol (DS18S20, DS18B20, DS2408 and etc)

Version: 2.3.4
Homepage: OneWire Arduino Library, connecting 1-wire devices (DS18S20, etc) to Teensy
Keywords: onewire, temperature, bus, 1-wire, ibutton, sensor
Compatible frameworks: arduino
Compatible platforms:
Authors: Paul Stoffregen, Jim Studt, Tom Pollard, Derek Yerger, Josh Larios, Robin James, Glenn Trewitt, Jason Dangel, Guillerm
o Lovato, Ken Butcher, Mark Tillotson, Bertrik Sikken, Scott Roberts

This means they are installed. Why can it not link them then?

I also have this in my platformio.ini
[env:featheresp32]
platform = espressif32
board = featheresp32
framework = espidf
lib_deps =

Using a library name

DallasTemperature
OneWire

Do you have src folder here? CPP files inside? Did you include #include ...?