Go Down

Topic: Where to put a library? (on linux) (Read 585 times) previous topic - next topic

robelix

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

baum

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

baum

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?

pluggy

#3
Mar 20, 2011, 10:03 am Last Edit: Mar 20, 2011, 10:06 am by pluggy Reason: 1
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.
http://pluggy.is-a-geek.com/index.html

robelix


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


Go Up