-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Libraries in sketch folder still not working #9507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I assume you refer to the "inside your sketchbook" part? The sketchbook is the directory where your sketches live (e.g. I'm going to close this issue as invalid. If you feel this is not appropriate, let use know through a comment. However note #7755, which is an issue that requests this specific feature and should be used for any further discussion about the feature (so no need to keep this open as a feature request). |
The statement says literally libraries folder inside your sketchbook which imo is the project folder, not the projectS folder because it's not stated sketchbookS folder. This feature is also very wanted, because for different projects sometimes the same lib is needed but with different version. That's now almost impossible. Also when a project on github has submodules of libraries included they now have to be copied out of the sketchbook folder to the libraries folder in the folder containing all the sketchbooks. But still even if the only location is in the sketchbook folder we also want to have global libraries locating in folder containing all the sketchbooks (like the behaviour is now) which has a lower priority than the librarie residing in the sketchbook (the project). On the other hand you can say, a sketch resides in a sketchbook, so a sketchbook can contain multiple sketches. But still it is an issue working with submodules or different library version per sketch. |
This is a misunderstanding on your side. Check for example the preferences of the Arduino IDE, which lets you set the sketchbook directory. The sketchbook contains a number of sketches, which is what you are calling projects. One can argue about how intuitive or clearly documented this is, but I am pretty sure this is how the terminology was intended. As for the rest of your argument: Agreed, but that is for #7755. |
According to the manual libraries can be placed in a libraries folder in the sketch folder.
https://www.arduino.cc/en/Guide/Libraries
But it doesn't work
Related bug: #4936
The text was updated successfully, but these errors were encountered: