Go Down

Topic: location of libraries problem (Read 119 times) previous topic - next topic

wadevcamp

I have libraries in my sketchbook folder (C:\Users\wade\Documents\Arduino\libraries) and in C:\Program Files (x86)\Arduino\libraries.  The Arduino  documentation says that my libs should be in the sketchbook folder, but when I open the IDE and use thje SKETCH menu to list all the "installed" libraries, the list matches those in C:\Program Files (x86)\Arduino\libraries!

Where does the compiler look for libraries??!!

ballscrewbob

#1
Nov 12, 2019, 02:18 am Last Edit: Nov 12, 2019, 05:56 pm by ballscrewbob
The compiler can look in two seperate locations depending on if you use angle brackets (left right arrow < > ) OR quotation marks  ( " " ).

User added libraries are normally held inside the LIBRARIES folder that also resides in the SKETCHES folder.

Some standard Libs are included during the IDE install and these usually reside in the IDE installation folders also in a folder called libraries.

Bob.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

wadevcamp

Thank you.  I'm surprised this is not documented in the "#INCLUDE" command description!

ballscrewbob

Some of the initial user documentation is a little outdated and does need some updates here and there.

Suggestions are probably welcome on Github in the correct area of course.

Bob.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up