Pages: [1]   Go Down
Author Topic: Where to put a library? (on linux)  (Read 493 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Got the Tlc5940 library - but I can't build the examples - all I get is "fatal error: Tlc5940.h: No such file or directory"

So far I tried:

~/sketchbook/libraries
~/sketchbook/hardware/
~/sketchbook/hardware/libraries
~/.arduino/libraries
~/.arduino/hardware
~/.arduino/hardware/libraries
/usr/share/arduino-0021/libraries
/usr/share/arduino-0021/hardware
/usr/share/arduino-0021/hardware/libraries

9 of 9: "Tlc5940.h: No such file or directory"

Is there a way to show the include-path - and where or how can it be configured?

Robelix
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hold on... just booting up my Ubuntu computer. Be back in a bit.
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 16
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This:

/usr/share/arduino-0021/libraries

is where it should go. If you're in the right spot, you should see folders like "Wire" and "EEPROM." If you do, create a new folder called Tlc5940. Then, put all your files in there.


and where did u get the library from?
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 8
Posts: 1992
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Bear in mind the IDE has to be restarted after making an addition to the libraries, it doesn't work until you do.

Quote
/usr/share/arduino-0021/libraries

Assuming its installed in /usr/share/  mines in my home folder.
« Last Edit: March 20, 2011, 04:06:00 am by pluggy » Logged


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

Bear in mind the IDE has to be restarted after making an addition to the libraries, it doesn't work until you do.

Thank you! - That's the thing i missed.

Quote
and where did u get the library from?

http://code.google.com/p/tlc5940arduino/downloads/list

Logged

Pages: [1]   Go Up
Jump to: