Hello All. I have recently gotten an Arduino and did a few examples on my windows PC but have moved over to Linux. I installed the Arduino program and tried one of the example NFC programs. Every time I try to compile, I get a fatal error of "Adafruit_NFCShield_I2C.h" not found. So I copied it from the download folder into a folder I called "libraries" within my sketchbook folder. Still no joy. It finds the Wire.h library but I for the life of me cannot find where Arduino stores its libraries that installed when I installed the program. I am using Ubuntu 12.10.
There are two questions I have. The first being that if I made the libraries folder in my sketchbook folder and installed both the .cpp and .h for the NFC, why is not finding it. If I am supposed to put it in the libraries folder where linux stored the other libraries, where do I find the installation location so that can be done.
Thank you. Just looking at your paste answered my question. I was placing the .h file directly in my libraries folder and not a sub-folder within libraries. I am running now. Most appreciated.
I also had a problem with libraries in Linux, and failure to compile. Some specifics:
Arduino:Uno
OS: Linux Mint 14
IDE version: 1.0.3 (upgraded from 1.0.1)
Once I put the user into the right group, simple programs compile, download, and produce expected results on the serial monitor. That seems to indicate that everything is fine, until I start to use libraries. Simple programs like "hello world" and producing an ASCII table work well.
When I try to use libraries, compiles fail, with lots of error messages. Library files are both a header and a c++ file in what look like appropriate locations.
The tree linux program produces:
Adafruit tech support suspected a mislocated Wire program, but it appears to be in the correct place. I have two versions of the file Wire.h and two versions of Wire.cpp, and both have been checked.