x1.0.4 (OSX) not finding a library

Has anyone else ever had the software not completely find a library?

I’m working with an Adafruit display - http://www.adafruit.com/products/358 (original ‘green tab’ one) - and it’s been awhile, so I re-downloaded their library for it - GitHub - adafruit/Adafruit-ST7735-Library: This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618 - and discovered there’s now a companion library - GitHub - adafruit/Adafruit-GFX-Library: Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from. They got placed in my ‘library’ folder and were properly renamed to ‘Adafruit_ST7735’ and ‘Adafruit_GFX’.

I wired-up the device, opened the OSX Arduino app, went to the '7735 library’s examples folder and opened up their ‘graphicstest_highspeed’ example. Did a verify and got a bunch of compiler errors. I checked my app version (1.0.1) and looked to see the app is now 1.0.4. Downloaded THAT too since I remembered having loads of compiler errors using stuff developed in v0023 and trying to run them in v1.0. Same thing happens.

After troubleshooting things for a while I noticed that the GFX library does NOT show up when I click the ‘open’ icon and cruise to the ‘libraries’ sub-menu. Neither does it show up when I go to the menu and do a /File/Examples/. There IS no examples folder with the GFX library, so I added one (empty folder). It made no difference.

BUT, if I have a sketch open and do a menu /Sketch/Import Library…/ the GFX library DOES appear and will properly include a #include <Adafruit_GFX.h> in my sketch.

Has anyone else encountered this kind of problem before where the app will not completely recognize a library? If I remark-out the #include <Adafruit_GFX.h> in my sketch I get the exact same compiler errors, so I can only figure that the compiler isn’t picking-up on the ‘Adafruit_GFX’ library either.

Any ideas, anyone?

s3jn: They got placed in my 'library' folder

"library" or "libraries"?

s3jn: to the '7735 library's examples folder and opened up their 'graphicstest_highspeed' example.

Open examples from the File -> Examples menu. If the examples aren't listed there, the library isn't in the right place.

“library” or “libraries”?

Oops, you caught me. ‘libraries’ is correct - where all my other libraries are that work fine. It was late, typing mistake. ALL my libraries are in the one folder, and the new ST7735 library shows up there.

Open examples from the File → Examples menu. If the examples aren’t listed there, the library isn’t in the right place.

Again, fatigued typing. No difference where I open it from - the GFX library doesn’t show up except ONE place.

Attached are cropped views of the menus I’m talking about (all snapshotted one right after the other) - I can only find it in the 'Import Library…" menu.

What version of the IDE are you using?

The following is with 1.0.4.

I went to the github link: GitHub - adafruit/Adafruit-ST7735-Library: This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618
Clicked “Zip” download button.

Uncompressed, move the folder as-is to Documents/Arduino/libraries folder

Launched the IDE and got an error message about a bad directory name (attached).

But it still showed up in my Examples menu.

The error bothered me so I renamed the folder (highlight and delete all characters) to “Adafruit-ST7735”, relaunched, and the dialog went away.

OS: 10.6.9, IDE: 1.0.4. I see you're on a Mac too.

Now, when I use hyphens in the name the IDE doesn't like it and I get the same message - only letters, numbers, and underscores are acceptable. Also, the 7735 library shows up for me and is always properly recognized but the [u]GFX[/u] one doesn't. Did you try installing that one too and see if it shows up in all four places?