Adafruit_ST7735 not compiling
Moderators: adafruit_support_bill, adafruit

Adafruit_ST7735 not compiling

by silverfox0786 on Mon Apr 01, 2013 7:21 am

Hi I have a Duemilanove that I made myself and when I use a FTDI cable to upload to it the Adafruit_ST7735 loads perfect and the LCD runs the test prog just fine no probs

I made this to work really from a Raspberry Pi and the GPIO ports with patched AVRDUDE and Arduino IDE

when I use the GPIO to load blink that loads and works just fine I have also managed to load other single file sketches no issues

but and here is the problem

when I try to load an Adafruit sketch that requires dependancies like the Adafruit_ST7735 which requires Adafruit_GFX I get a compile error

Adafruit_GFX.h no file or directory found yet it is there and place correctly as I have done with my windows laptop

it seems this is an issue with Linux being able to find the filke even though its there in sketchbook

does anyone know a solution to this please


verbose output below

Code: Select all | TOGGLE FULL SIZE
avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/share/arduino/libraries/SPI /tmp/build8105315706382315765.tmp/graphicstest.cpp -o /tmp/build8105315706382315765.tmp/graphicstest.cpp.o
graphicstest.cpp:26:54: fatal error: Adafruit_GFX.h: No such file or directory
compilation terminated.
silverfox0786
 
Posts: 2
Joined: Mon Apr 01, 2013 7:10 am

Re: Adafruit_ST7735 not compiling

by adafruit_support_mike on Mon Apr 01, 2013 9:27 am

It could be a permissions issue. If you go to the 'libraries' folder in your Arduino sketchbook and type `ls -l` what does the output show for the Adafruit_GFX folder?
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 10043
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit_ST7735 not compiling

by silverfox0786 on Mon Apr 01, 2013 9:50 am

here is what I get

Code: Select all | TOGGLE FULL SIZE
total 20
drwxr-xr-x 2 pi pi 4096 Mar 31 19:56 Adafruit_GFX
drwxr-xr-x 3 pi pi 4096 Mar 31 19:07 Adafruit_PCD8544
drwxr-xr-x 3 pi pi 4096 Mar 31 19:50 Adafruit_ST7735
drwxr-xr-x 3 pi pi 4096 Mar 31 19:07 LiquidCrystal
drwxr-xr-x 4 pi pi 4096 Mar 31 19:07 SD



Code: Select all | TOGGLE FULL SIZE
-rwxr-xr-x 1 pi pi 11349 Mar 31 19:56 Adafruit_GFX.cpp
-rwxr-xr-x 1 pi pi  3522 Mar 31 19:56 Adafruit_GFX.h
-rwxr-xr-x 1 pi pi  8335 Mar 31 19:56 glcdfont.c
-rwxr-xr-x 1 pi pi  1501 Mar 31 19:56 license.txt
-rwxr-xr-x 1 pi pi   935 Mar 31 19:56 README.txt
silverfox0786
 
Posts: 2
Joined: Mon Apr 01, 2013 7:10 am