Unbuntu linux and where to store #include files

I am not sure what I have done wrong
and would really appreciate some
suggestions. I am trying to run the
TVOUT demo Google Code Archive - Long-term storage for Google Code Project Hosting.
and when I verify the sketch I get

DemoNTSC.cpp:1:19: fatal error: TVout.h: No such file or directory
compilation terminated.

I am not sure where this should be, I have extracted all
of the files into my sketchbook dir.

Any help would be great!

In the same folder with your sketchbook, is there also a Libraries folder? Running on Winblows XP here.

This page http://arduino.cc/en/Hacking/Libraries explains where they go.

Thank you for your suggestions, and I will try them now!

maniacbug:
This page http://arduino.cc/en/Hacking/Libraries explains where they go.

That is not very helpful for linux users on where to place personal libraries, sketches or new hardware packages.
Also the default default locations the IDE uses are kind of goofy on linux as they don't go in a "Arduino" directory,
the simply go right in the users home directory. ~/sketchbook

My suggestion is bring up the IDE,
click on [File]->Preferences
Change the Sketchbook location to be something like
{home directory}/Arduino
rather than {home directory}/sketchbook

Then go to that directory and create 3 more subdirectories:

  • sketches
  • libraries
  • hardware

You now should have
~/Arduino
~/Arduino/sketches
~/Arduino/libraries
~/Arduino/hardware

Copy any of your old sketches over to ~/Arduino/sketches
You can now place all the libraries you write or collect under the ~/Arduino/libraries directory
And any new hardware packages like say the ATTINY package under ~/Arduino/hardware.

It keeps everything nice and clean and all under a single Arduino directory that is easy to locate
rather than having
~/sketchbook for sketches
and ~/sketchbook/libraries for libraries
and ~/sketchbook/hardware for hardware packages

Its what I've done since I prefer having everything under a directory called "Arduino"
vs "sketchbook".

--- bill

bperrybap:

maniacbug:
This page http://arduino.cc/en/Hacking/Libraries explains where they go.

That is not very helpful for linux users on where to place personal libraries, sketches or new hardware packages.
Also the default default locations the IDE uses are kind of goofy on linux as they don't go in a "Arduino" directory,
the simply go right in the users home directory. ~/sketchbook

Its what I've done since I prefer having everything under a directory called "Arduino"
vs "sketchbook".

--- bill

WOW! awesome, thanks Bill!!!