You are viewing a static version of the site. Enable JavaScript to benefit from the
full functionality of this site and enable such things as forum posting.
Libraries not found
claus1812:
In UCEIDE Preferences I've specified two paths to libraries. Obviously none of them are used during compiling. The compiler reports errors because of not found includes though the required libraries are stored in the paths specified in the preferences.
matt:
Have you either restarted UECIDE or updated the internal data structures through the debug menu since adding the paths?
claus1812:
I've tried both. No effect. Libraries in paths as specified in Preferences are not found.
matt:
UECIDE is fussy about library folder names. Make sure the folders are named the same as the main header files. Also make sure you're adding the path where the library folders are, not the library folders themselves.
claus1812:
Strange Thing is:
In Menu Sketch->Libraries I can see all my Libraries specified with Paths in Preferences.
I can e.g. ESP32Servo and get an appropriate #include <ESP32Servo.h> statement inserted.
Compiler however fails with:
Error at line 1 in file untitled7.ino:
‣ ESP32Servo.h: No such file or directory
Compiling Failed
matt:
Ah, is this in Windows?
matt:
I have recently got a better windows dev environment working. I must tackle that problem...
claus1812:
So what can I do now ?
matt:
It's just commenting out one line in a config file
claus1812:
Which config file and which line ?
claus1812:
Tried same thing on MacOS. Same Problem. So Compiling is impossible.
matt:
It tells you in the link I pasted above.
claus1812:
Works like a charm now.
Thank you very much for your fast help !
matt:
I've just released an updated esp32 core and UECIDE 0.11.10 which, combined, should solve the problem once and for all.
claus1812:
Doesn't help me on MacOS as new release is no longer running on High Sierra and I can't upgrade my OSX on my old MacBookPro