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
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.

The Best Arduino Starter Kit

※ OUR MESSAGES