Compile errors w/ GemmaHoopAnimator

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
oscillator
 
Posts: 17
Joined: Sat Mar 05, 2011 7:26 pm

Compile errors w/ GemmaHoopAnimator

Post by oscillator »

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

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Compile errors w/ GemmaHoopAnimator

Post by Franklin97355 »

I notice an #Include for #include <Adafruit_NeoPixel.h> - what is the expected file path?
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.

User avatar
oscillator
 
Posts: 17
Joined: Sat Mar 05, 2011 7:26 pm

Re: Compile errors w/ GemmaHoopAnimator

Post by oscillator »

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.
Screen Shot 2014-07-16 at 3.49.10 PM.png
Screen Shot 2014-07-16 at 3.49.10 PM.png (29.48 KiB) Viewed 304 times
and the "too many initializers" indicates multiple includes, but I don't know from where this is generated.

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Compile errors w/ GemmaHoopAnimator

Post by Franklin97355 »

Is gemmahoopsdef.h in the library folder?

User avatar
oscillator
 
Posts: 17
Joined: Sat Mar 05, 2011 7:26 pm

Re: Compile errors w/ GemmaHoopAnimator

Post by oscillator »

Yes, as i stated previously:

"...ensuring the sketch and .h are under Docs/Arduino, and .h are in libraries/"

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Compile errors w/ GemmaHoopAnimator

Post by Franklin97355 »

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)

User avatar
oscillator
 
Posts: 17
Joined: Sat Mar 05, 2011 7:26 pm

Re: Compile errors w/ GemmaHoopAnimator

Post by oscillator »

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.

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

Return to “Arduino”