Arduino IDE libraries dependencies Pro Preview

Some programs use preinstalled libraries, and running them from your machine may result in errors while uploading the program. In this tutorial, we will learn to identify such errors and fix them.

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #2712
  • 04 Nov 2026

Identifying the issue

The error will look something like this:

Path: fatal error: Some Library Name: No such file or directory
    2 | #include <Some Library Name>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: Some Library Name: No such file or directory

In those errors, the line that caused the issue will be highlighted. In the example above, the line that caused the issue is number 2. If that line looks like this:

#include <Some Library Name>

Then you have a missing library!

Solving the issue

To solve the issue, you just need to include the missing library. Go to the Tools menu and select Manage Libraries.... Then type the missing library name and install it. The name of the library is found after the #include keyword, placed in angle brackets.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for The Memory Game Challenge
  • 15
  • 0:00
  • 34
Image for The Final Upload - Code Meets Creation
  • 2
  • 1
  • 6
  • 3d_rotation 1