Can't call a library even though it's already installed

C:\Users\ASUS\AppData\Local\Temp.arduinoIDE-unsaved202579-32520-6o87bd.n4vbu\ChangePagesAndSendFloatValuesCode\ChangePagesAndSendFloatValuesCode.ino:48:10: fatal error: EasyNextionLibrary.h: No such file or directory
48 | #include "EasyNextionLibrary.h" // Include EasyNextionLibrary
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: EasyNextionLibrary.h: No such file or directory

Been at this for multiple days by now, any help would be greatly appreciated!

Please turn on verbose compilation, capture the output and put it in a reply in a code block (i.e. paste it, select it and use the <CODE/> tool to preserve formatting). There's a couple of usual suspects when this kind of things happen but we've got to see ALL the output to figure out if any of them are the culprit.

How and where did you install the library?

  • Try:

#include <EasyNextionLibrary.h>

Which version of the IDE?

If IDE 2.x please post a screenshot of your File → Preferences. You can directly paste it in a forum reply.

Reason for asking is that you might have non-ascii characters in your sketchbook path as demonstrated in below image

If so, see advice in My laptop A Arduino Ide can't find the library but Laptop B's Arduino Ide can - #10 by sterretje.

The path to your code starts from "unsaved". Its means that you try to edit an library example, that marked as "read-only". The result of this can be unpredictably behavior..

If you need to change a library example code, the best way is save it as a sketch with a new name before edit.

Why? Quote marks mean search locally, then search elsewhere, said elsewhere being exactly where angle brackets start.

Unless it's some weird Arduino thing they decided to do differently.

a7

1 Like
  • I had not realized “ “ meant here then there.
    Thought “ “ was locally and < > was in the library.

  • I learned something new every day; or maybe my mind is turning into a FIFO, in now out immediately :face_with_spiral_eyes:

1 Like

ok as i read this topic that it is talking about computer A and B i think the problem in computer A is that the version of the arduino is very old so try installing a newer verion.

Where do you see two different computers mentioned?

“If so, see advice in My laptop A Arduino Ide can't find the library but Laptop B's Arduino Ide can - #10 by sterretje .“