Trouble verifying code

Post test messages here

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
khush123
 
Posts: 2
Joined: Mon Dec 15, 2014 6:09 pm

Trouble verifying code

Post by khush123 »

Hi all,
I was creating my own variation of the GPS jacket and I followed the tutorials on the libraries installation guide. I ran into an error that has been bothering me for a while.

Flora_GPS_Jacket.ino:15:33: error: Adafruit_FloraPixel.h: No such file or directory
Flora_GPS_Jacket:54: error: 'Adafruit_FloraPixel' does not name a type
Flora_GPS_Jacket.ino: In function 'void setup()':
Flora_GPS_Jacket:98: error: 'strip' was not declared in this scope
Flora_GPS_Jacket.ino: In function 'void headingDistance(float)':
Flora_GPS_Jacket:268: error: 'strip' was not declared in this scope
Flora_GPS_Jacket:271: error: 'strip' was not declared in this scope
Flora_GPS_Jacket.ino: In function 'void uniformBreathe(uint8_t*, uint8_t, uint16_t, uint16_t, uint16_t, uint16_t)':
Flora_GPS_Jacket:335: error: 'strip' was not declared in this scope
Flora_GPS_Jacket:339: error: 'strip' was not declared in this scope

I know this error originates from misplacing the library but Ive already tried that. I even wiped my computer of Arduino related stuff and reinstalled to make sure.
Attachments
GPS Proof.JPG
GPS Proof.JPG (64.62 KiB) Viewed 1077 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trouble verifying code

Post by adafruit_support_rick »

Flora_GPS_Jacket is your sketch folder. It does NOT belong in the libraries folder! It should go up one level in the Arduino folder.
You need to download and install Adafruit_FloraPixel.h at the top level of the libraries folder.

User avatar
khush123
 
Posts: 2
Joined: Mon Dec 15, 2014 6:09 pm

Re: Trouble verifying code

Post by khush123 »

Thank you so much for the really quick reply. I downloaded the additional file and dragged the GPS_Jacket to the higher tier. Should I do this with all my libraries or just the GPS_Jacket?
Attachments
GPS Proof.JPG
GPS Proof.JPG (63.91 KiB) Viewed 1066 times

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

Re: Trouble verifying code

Post by adafruit_support_mike »

All your libraries need to stay in the 'libraries' folder for the Arduino IDE to be able to find and use them.

Sketches that do something specific, like the GPS_Jacket sketch, need to be in the top level of your 'sketchbook' folder to work.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Trouble verifying code

Post by adafruit_support_rick »

Your folder structure looks correct now.

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

Return to “Test Message Forum (closed)”