Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adafruit_SleepyDog.h not found when compiling megademo example. #36

Closed
ReanimationXP opened this issue Jul 21, 2018 · 5 comments
Closed

Comments

@ReanimationXP
Copy link

ReanimationXP commented Jul 21, 2018

  • Arduino board: Adafruit Circuit Playground Classic

  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.6 (Hourly)

When flashing the Circuit Playground library's megademo example, I was presented with an error citing that Adafruit_SleepyDog.h was missing. After searching the github I only see it referenced one other place, which is .travis.yml. Specifically:

install:
   - arduino --install-library "Adafruit LED Backpack Library","Adafruit GFX Library","Adafruit SleepyDog Library","Adafruit Zero FFT Library"

I checked my libraries and found that Adafruit SleepyDog Library was not installed, despite having just recently installed the Adafruit Circuit Playground library. I tried deleting the Playground library and then reinstalling it, which worked fine, but SleepyDog still was not present. Only after searching for it manually in the library manager and installing it did megademo compile and flash correctly.

I'd venture to guess something is going wrong with the install script. I wasn't aware libraries could even install other libraries as dependencies. I assume that's what's supposed to be happening here and that'd be a neat and interesting feature if it worked :) Ideas?

My hourly is a bit old but it's still newer than the latest release:
1.8.6 Hourly Build 2018/04/19 10:37

@ReanimationXP
Copy link
Author

Also worth noting that other libraries here like LED Backpack Library were also not installed.

@ladyada
Copy link
Member

ladyada commented Jul 22, 2018

hi it's mentioned here! :)

// NOTE: This example requires the Adafruit SleepyDog sleep & watchdog library

@ladyada ladyada closed this as completed Jul 22, 2018
@ReanimationXP
Copy link
Author

ReanimationXP commented Jul 22, 2018

Okay, but why is it mentioned in the -install-library flag then?

I might also suggest moving that blurb next to the actual include so when the error is presented the user can more easily see it.

@ladyada
Copy link
Member

ladyada commented Jul 22, 2018

thats so travis can compile things, you can read about it here
https://learn.adafruit.com/the-well-automated-arduino-library

@ReanimationXP
Copy link
Author

Ah, thanks. Found it after posting. Didn't occur to me it'd have nothing to do with Arduino. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants