Compiling error message with Arduino Uno

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
User avatar
AirBubblesCosplay
 
Posts: 71
Joined: Sat Nov 28, 2015 5:02 am

Compiling error message with Arduino Uno

Post by AirBubblesCosplay »

I'm sorry if this gets asked a lot. I did try and find the answer...

I'm just trying to upload the Simple test for the Neopixel ring on my Arduino Uno. I have a Mac using the Arduino 2 1.6.9.

I get the following error message:

Arduino: 1.6.9 (Mac OS X), Board: "Arduino/Genuino Uno"

/Users/AirBubbles/Downloads/Adafruit_NeoPixel-master/examples/simple/simple.ino:3:38: fatal error: Adafruit_NeoPixel-master.h: No such file or directory
#include <Adafruit_NeoPixel-master.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Any help would be great. Thank you.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Compiling error message with Arduino Uno

Post by adafruit_support_bill »

It looks like you have not installed the library in the expected location. See the instructions here:

http://learn.adafruit.com/adafruit-all- ... nstall-use

User avatar
AirBubblesCosplay
 
Posts: 71
Joined: Sat Nov 28, 2015 5:02 am

Re: Compiling error message with Arduino Uno

Post by AirBubblesCosplay »

adafruit_support_bill wrote:It looks like you have not installed the library in the expected location. See the instructions here:

http://learn.adafruit.com/adafruit-all- ... nstall-use
Ah yes. That did help. However this message comes up now:



WARNING: Spurious .github folder in 'Adafruit NeoPixel' library

Sketch uses 2,912 bytes (9%) of program storage space. Maximum is 32,256 bytes.
Global variables use 42 bytes (2%) of dynamic memory, leaving 2,006 bytes for local variables. Maximum is 2,048 bytes.

User avatar
AirBubblesCosplay
 
Posts: 71
Joined: Sat Nov 28, 2015 5:02 am

Re: Compiling error message with Arduino Uno

Post by AirBubblesCosplay »

oh I was able to upload it. Looks like it's all good!

User avatar
AirBubblesCosplay
 
Posts: 71
Joined: Sat Nov 28, 2015 5:02 am

Re: Compiling error message with Arduino Uno

Post by AirBubblesCosplay »

Ok well maybe not. It worked, then.. it started to not work:

Arduino: 1.6.9 (Mac OS X), Board: "Arduino/Genuino Uno"

WARNING: Spurious .github folder in 'Adafruit NeoPixel' library
/var/folders/5m/_sgn1np10ybf5_fkpjwx4hc80000gn/T/arduino_modified_sketch_328430/simple.ino: In function 'void setup()':
simple:30: error: 'apixels' was not declared in this scope
apixels.begin(); // This initializes the NeoPixel library.
^
exit status 1
'apixels' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

User avatar
AirBubblesCosplay
 
Posts: 71
Joined: Sat Nov 28, 2015 5:02 am

Re: Compiling error message with Arduino Uno

Post by AirBubblesCosplay »

Oh geez. I feel so stupid. I must've accidentally typed an a infront of pixels...

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Compiling error message with Arduino Uno

Post by adafruit_support_bill »

I must've accidentally typed an a infront of pixels...
That kind of thing happens. Let us know if you run into any more issues.

User avatar
tarbear123
 
Posts: 74
Joined: Sat Feb 17, 2018 5:10 pm

Re: Compiling error message with Arduino Uno

Post by tarbear123 »

how do I get the up button generate a random number and when I try and upload the code to Arduino, I get Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\taran\Documents\Arduino\dice\dice.ino\dice\dice.ino:1:0:

C:\Users\taran\Documents\Arduino\libraries\LCDKeypad/LCDKeypad.h:18:1: error: expected class-name before '{' token

{

^

exit status 1
Error compiling for board Arduino/Genuino Uno.

BTW i'm using a LCD shield
Last edited by tarbear123 on Sat Feb 17, 2018 5:52 pm, edited 1 time in total.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Compiling error message with Arduino Uno

Post by adafruit_support_bill »

@tarbear123 - Please start a new topic for your question: posting.php?mode=post&f=25
And also post your code.

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

Return to “Arduino”