Go Down

Topic: Invalid library found error (Read 230 times) previous topic - next topic

Gallen66

I keep receiving an invalid library found error, after compiling sketches. How can I correct that?

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

pert

There are three common causes of the invalid library warning:
  • You saved a sketch to the libraries folder. Sketches are only allowed in that folder as examples inside the folder of a valid library. Fix: move the sketch anywhere else other than the libraries folder.
  • Incorrect installation of a valid library. The library folder must be directly under the libraries folder, not in a subfolder. This means the library must have either a .h file or a library.properties file in its root folder. Fix: move the library folder to directly under the libraries folder.
  • Something that's neither library nor sketch in the libraries folder. Fix: move it somewhere else, anywhere other than the libraries folder.

Go Up