Pages: [1]   Go Down
Author Topic: [RESOLVED] including custom libraries (Mac OS X)?  (Read 1387 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm working on Arduino IDE 1.0.1 (1.0 few days ago).
I would like include extern libraries like (new) LiquidCrystal. It is the same name as the standard library.
But instead copying this library in /Applications/Arduino.app/Contents/Resources/Java/libraries, we could add it into %PROJECT_NAME%/libraries. Because I want test this unofficial library only for this project.

Some helps tell it is possible but, even I restart my computer and the IDE, I can't!

(So, I tested with failure ~/Document/Arduino/libraries)

Could you add this features… or explain me.

Thanks
« Last Edit: September 14, 2012, 08:53:17 am by yggdrasilien » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 180
Posts: 8103
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Local libraries are put in ~username/Arduino/libraries/LibraryName

Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes!! Thanks.

I write a small doc in my repository:
Quote
Launch the Arduino IDE (tested with 1.0.1) and look the Preferences window. I read:
%Sketchbook_location% = ~/Documents/Arduino/Sketchbooks

Move [%git:sketch_SWlave%/libraries] to [%Sketchbook_location%/libraries], or link it. My files are:
$ ls -al ~/Documents/Arduino/Sketchbooks/libraries
lrwxr-xr-x  1 [myUser]  staff    67 13 sep 21:39 LiquidCrystal -> ~/Documents/Arduino/sketch_WSlave/libraries/LiquidCrystal

It works!
Easy smiley-wink
Logged

Pages: [1]   Go Up
Jump to: