I noticed today that my version of the arduino IDE was outdated so decided to install 1.0.4.
I had to maually go through the libraries folder, compare the directories and move all of the libraries that I had installed into the new version.
There are lots of people that are far more organised than me and probably have a great system for storing their arduino libraries so that they do not have to do this. I want to keep the new libraries in the arduino file system not my home directory.
Please share your fabulous filesystem organisation ideas with me.
Thanks.
Mrs Z
What OS are you using?
On the Mac the built-in libraries are inside the app:
/Applications/Arduino 1.0.1.app/Contents/Resources/Java/libraries
and the user-added libraries are in the sketch folder:
/Users/john/Documents/Arduino/libraries
That way the user-added libraries are separate and don't need to be copied when a new version of Arduino is installed.
Hi
Thanks for the reply, John. I am using Windows Vista. The libraries are in /..../arduino/arduino-1.0.0.4/libraries.
Are you suggesting that I put them in my own sketch library?
Zaplady:
Hi
Thanks for the reply, John. I am using Windows Vista. The libraries are in /..../arduino/arduino-1.0.0.4/libraries.
Are you suggesting that I put them in my own sketch library?
For windows you must create a folder named libraries in your user sketch directory and inside the library folder there will be a folder directory for each library you load and the name of the library folder must be the same as the *.h and *.cpp library files.
So my user library folder is as follows:
C:\Documents and Settings\Primary Windows User\My Documents\Arduino\Arduino1\libraries
And a typical user library folder path looks like this:
C:\Documents and Settings\Primary Windows User\My Documents\Arduino\Arduino1\libraries\MsTimer2
This folder will contain at least two files named MsTimer2.cpp and MsTimer2.h but it also may contain an
optional example folder for that specific library.
Lefty
Hi
Thank you both. Problem solved.
Mrs Z