Adafruit_ST7735 not compiling

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
silverfox0786
 
Posts: 2
Joined: Mon Apr 01, 2013 7:10 am

Adafruit_ST7735 not compiling

Post by silverfox0786 »

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

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.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit_ST7735 not compiling

Post by adafruit_support_mike »

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?

silverfox0786
 
Posts: 2
Joined: Mon Apr 01, 2013 7:10 am

Re: Adafruit_ST7735 not compiling

Post by silverfox0786 »

here is what I get

Code: Select all

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

-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

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”