Fastled library Arduino

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
leibhold
Professional User
Posts: 2
Joined: Wed 2021-10-20 13:05

Fastled library Arduino

Post by leibhold »

using the example sample project WS2812 NeoPixel Arduino Button Cycler,
replacing the Adafruit_NeoPixel.h with Fastled.h and removing most of the code for a simple main.ino


On build I get this error
FastLED.h:302: undefined reference to `__cxa_guard_acquire'
FastLED.h:302: undefined reference to `__cxa_guard_release'
[/quote]

Is there a compiler directive to prevent this error ?
Andrew
Labcenter Staff
Posts: 453
Joined: Fri 2006-03-24 15:34
Contact:

Re: Fastled library Arduino

Post by Andrew »

Hello,

Quick search in Google tells that you need to remove -std=gnu++11 from the compiler options.

Regards,
Andrew
leibhold
Professional User
Posts: 2
Joined: Wed 2021-10-20 13:05

Re: Fastled library Arduino

Post by leibhold »

Thank you, I did eventually find that but it results in a host of other errors

example

/Arduino/libraries/FastLED/src/platforms/avr/clockless_trinket.h:225:120: warning: asm operand 18 probably doesn't match constraints
or
/Arduino/libraries/FastLED/src/platforms/avr/clockless_trinket.h:254:48: error: impossible constraint in 'asm'


ending in

Error code 2

these all appear to be related to /Arduino/libraries/FastLED/src/platforms/avr/clockless_trinket.h


I think I may have to assume fastled will not be an option here
Post Reply