How To Fix Arduino 'U8glib.h: No Such File Or Directory' - TechOverflow

TechOverflow LogoTechOverflow Consulting Blog Tools

Problem:

You want to compile an Arduino sketch, but you see an error message like

u8glib_missing_error.txt Copy DownloadIn file included from sketch/ultralcd.cpp:96:0: ultralcd_impl_DOGM.h:46:20: error: U8glib.h: No such file or directory compilation terminated. exit status 1 U8glib.h: No such file or directoryIn file included from sketch/ultralcd.cpp:96:0: ultralcd_impl_DOGM.h:46:20: error: U8glib.h: No such file or directory compilation terminated. exit status 1 U8glib.h: No such file or directory

Solution

In Arduino, click on the Tools menu, then click on Manage libraries. Now enter u8glib into the search bar an press Enter.

Scroll down to the U8glib library, hover over it with your mouse and click Install on the bottom right. Now the error should be gone.

Check out similar posts by category: ArduinoIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow Buy me a coffee

Tag » Arduino U8glib.h