fatal error: library.h: No such file or directory

Arduino IDE shows an error:

Arduino Code:1:10: fatal error: library.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. exit status 1 library.h: No such file or directory

How can I solve it?

Answer

This error shows that Arduino IDE cannot find the library or header file.

Buy Arduino

1 × Arduino UNO Buy on Amazon
1 × USB 2.0 cable type A/B Buy on Amazon
1 × Jumper Wires Buy on Amazon
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.

The Best Arduino Starter Kit

※ OUR MESSAGES