Hi everyone,
I installed the Arduino CLI, if I execute the command via the "arduino-cli lib list" shell, the libraries that are present in the path "C:\Users\MyUser\Documents\Arduino\libraries" are returned but I don't see the native arduino libraries , consequently in the solution with VSCode I can't find the "Ethernet.h" library.
Can anyone point me in the right direction...?
Thanks in advance
Hi @gazard82. The Arduino IDE installation includes a collection of fundamental libraries (referred to as "built-in" libraries). This is done to allow new users to get started using Arduino without needing to spend time learning how to install libraries so early on in their journey.
Since Arduino CLI is for advanced users, the installation does not include built-in libraries. So you must install any library dependencies of your sketches. You can do that using the arduino-cli lib install command:
https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib_install/
HI @ptillisch,
After installing the missing libraries everything works...Thanks.
I hope it is useful for others too.
You are welcome. I'm glad it is working now.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

