Error Message -- Please help! My project is due next week

Hi,

I'm trying to load the "Meditation Trainer" code from Adafruit Circuit Playground (Software | Meditation Trainer | Adafruit Learning System) but this message keeps popping up.

Arduino: 1.6.6 (Mac OS X), Board: "Adafruit Circuit Playground"

avr-g++: error: missing filename after '-o'
exit status 1
Error compiling.
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_MiniMLX90614: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_MiniMLX90614
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_NeoPixel_master: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_NeoPixel_master
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_Pixie-master: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_Pixie-master
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_SoftServo: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_SoftServo
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_MiniMLX90614: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_MiniMLX90614
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_NeoPixel_master: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_NeoPixel_master
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_Pixie-master: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_Pixie-master
Invalid library found in /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_SoftServo: /Users/samsteinberg/Documents/Arduino/libraries/Adafruit_SoftServo

Please let me know if you need any other info! My Adafruit AVR Board is 1.6.18 and my Adafruit Circuit Playground is 1.6.4

When you download code from Github it adds “-master” on the end of the folder name. You must remove this for it to work in Arduino.

It makes sense to Git people but I don’t understand it. I have a SubVersion brain.

Those "Invalid library" lines are warnings, not errors. It's OK to ignore them.

The only error is "avr-g++...". This was a bug in Arduino 1.6.6. It should go away if you upgrade to a newer version.

MorganS:
Github it adds "-master" on the end of the folder name. ...
It makes sense to Git people but I don't understand it. I have a SubVersion brain.

Github adds the branch name/tag/commit that you are looking at. Usually you are looking at the master branch. Does it make sense now?

Although the invalid library warnings are not the cause of the compilation failure, it is annoying to see them all the time. If they still occur after updating the IDE version and you want to fix them you can try deleting those folders and reinstalling the libraries if you need them. Please be very careful when deleting things on your computer. When in doubt, back up!

The -master won't cause an invalid library warning. The hyphen was not allowed in Arduino IDE 1.0.5 and older but that was fixed in 1.0.6 and the invalid library warning didn't come until somewhere around 1.6.5.

The -master can still cause an issue in some rare cases (but not this one). Whether the included filename matches the library folder is one of the factors the IDE uses to determine include preference when there are multiple files of the same name in the library folders. Since the -master causes the folder name to no longer match the header file name it possible this could cause the wrong library to be included.

Generally I think it's safe to leave the -master on there. It makes the library installation process significantly more simple.

@morgans Thank you so much!