What is the expected file path(s) for each file in the GemmaHoopAnimator sketch?
I have tried placing GemmaHoopDefs.h inside and outside the GemmaHoopAnimator folder that is located under the Arduino folder:
~/Applications/Arduino/GemmaHoopAnimator/
GemmaHoopActionList.h
GemmaHoopAnimator.ino
GemmaHoopDefs.h
Also, I notice an #Include for #include <Adafruit_NeoPixel.h> - what is the expected file path?
Finally are there any other dependencies I need to know about?
----
In file included from GemmaHoopAnimator.ino:75:
GemmaHoopActionList.h:36:27: error: GemmaHoopDefs.h: No such file or directory
In file included from GemmaHoopAnimator.ino:75:
GemmaHoopActionList.h:72: error: 'actionlist' does not name a type
GemmaHoopAnimator:93: error: 'COL_RANDOM' was not declared in this scope
GemmaHoopAnimator.ino: In function 'void setup()':
GemmaHoopAnimator:123: error: 'theActionList' was not declared in this scope
GemmaHoopAnimator:123: error: 'actiondesc' was not declared in this scope
GemmaHoopAnimator.ino: In function 'void loop()':
GemmaHoopAnimator:144: error: 'theActionList' was not declared in this scope
GemmaHoopAnimator:170: error: 'ACT_NOP' was not declared in this scope
GemmaHoopAnimator:179: error: 'ACT_SIMPLE_RING' was not declared in this scope
GemmaHoopAnimator:185: error: 'ACT_CYCLING_RING_ACLK' was not declared in this scope
GemmaHoopAnimator:186: error: 'ACT_CYCLING_RING_CLKW' was not declared in this scope
GemmaHoopAnimator:196: error: 'ACT_WHEEL_ACLK' was not declared in this scope
GemmaHoopAnimator:197: error: 'ACT_WHEEL_CLKW' was not declared in this scope
GemmaHoopAnimator:212: error: 'ACT_SPARKLING_RING' was not declared in this scope
GemmaHoopAnimator.ino: In function 'void nextColor()':
GemmaHoopAnimator:261: error: 'COL_RANDOM' was not declared in this scope
Compile errors w/ GemmaHoopAnimator
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Compile errors w/ GemmaHoopAnimator
that would be the sketchbook libraries folder Read this for help with libraries The other files look like they should also be in a library in the libraries folder.I notice an #Include for #include <Adafruit_NeoPixel.h> - what is the expected file path?
- oscillator
- Posts: 17
- Joined: Sat Mar 05, 2011 7:26 pm
Re: Compile errors w/ GemmaHoopAnimator
Thanks - got it all working, then wanted to make a backup copy, that is when things went south.
I have re-installed everything, ensuring the sketch and .h are under Docs/Arduino, and .h are in libraries/
but now getting an entirely new error: "unit16_t does not name a type"
I know this must be in one of the default libs, but don't know where. and the "too many initializers" indicates multiple includes, but I don't know from where this is generated.
I have re-installed everything, ensuring the sketch and .h are under Docs/Arduino, and .h are in libraries/
but now getting an entirely new error: "unit16_t does not name a type"
I know this must be in one of the default libs, but don't know where. and the "too many initializers" indicates multiple includes, but I don't know from where this is generated.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Compile errors w/ GemmaHoopAnimator
Is gemmahoopsdef.h in the library folder?
- oscillator
- Posts: 17
- Joined: Sat Mar 05, 2011 7:26 pm
Re: Compile errors w/ GemmaHoopAnimator
Yes, as i stated previously:
"...ensuring the sketch and .h are under Docs/Arduino, and .h are in libraries/"
"...ensuring the sketch and .h are under Docs/Arduino, and .h are in libraries/"
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Compile errors w/ GemmaHoopAnimator
OK, I downloaded the files and here is what you need to do. Unzip the file, rename the folder GemmaHoopAnimator and copy that folder into your documents/Arduino folder then open it and run the ino. No library folder needed (except for the Adafruit_neopixel)
- oscillator
- Posts: 17
- Joined: Sat Mar 05, 2011 7:26 pm
Re: Compile errors w/ GemmaHoopAnimator
Thnx - I restarted the machine & now Arduino can find the Libs. Apparently Arduino IDE relaunching didn't do the trick.
Anyhoo, I guess the OS X improvements that results in lack of OS crashing, over System 9, has lulled me into a false sense of security.
Thnx for the help.
Anyhoo, I guess the OS X improvements that results in lack of OS crashing, over System 9, has lulled me into a false sense of security.
Thnx for the help.
Please be positive and constructive with your questions and comments.