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?