The FastLED library isn't compiling. Neither FastLED or FastLED2. I have tried on multiple accounts, with stripped back code.
#include "FastLED.h"
FASTLED_USING_NAMESPACE;#define NUM_LEDS 41
#define DATA_PIN 6
#define LED_TYPE NEOPIXEL
#define BRIGHTNESS 255CRGB leds[NUM_LEDS];
void setup()
{
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);}
void loop()
{
for (int i = 0; i < NUM_LEDS; i++){
leds[i] = CRGB::HotPink;
}
FastLED.show();}
Error log:
. ./wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of dependent type 'typename NSFastLED::SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::globals'
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of '::'
error
../wiring/inc/spark_wiring_spi.h:269:46: expected ';' at end of member declaration
error
lib/FastLED/chipsets.h:17:6: 'mSPI' does not name a type
error
lib/FastLED/chipsets.h:19:22: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:20:21: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:23:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:30:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:40:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:56:3: 'mSPI' was not declared in this scope
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of dependent type 'typename NSFastLED::SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::globals'
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of '::'
error
../wiring/inc/spark_wiring_spi.h:269:46: expected ';' at end of member declaration
error
lib/FastLED/chipsets.h:109:6: 'mSPI' does not name a type
error
lib/FastLED/chipsets.h:104:7: expected ';' before '::' token
error
lib/FastLED/chipsets.h:121:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:126:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:131:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:140:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:145:3: 'mSPI' was not declared in this scope
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of dependent type 'typename NSFastLED::SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::globals'
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of '::'
error
../wiring/inc/spark_wiring_spi.h:269:46: expected ';' at end of member declaration
error
lib/FastLED/chipsets.h:166:6: 'mSPI' does not name a type
error
lib/FastLED/chipsets.h:172:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:178:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:186:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:192:3: 'mSPI' was not declared in this scope
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of dependent type 'typename NSFastLED::SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::globals'
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of '::'
error
../wiring/inc/spark_wiring_spi.h:269:46: expected ';' at end of member declaration
error
lib/FastLED/chipsets.h:217:6: 'mSPI' does not name a type
error
lib/FastLED/chipsets.h:219:25: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:220:62: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:223:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:230:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:242:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:258:3: 'mSPI' was not declared in this scope
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of dependent type 'typename NSFastLED::SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::globals'
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of '::'
error
../wiring/inc/spark_wiring_spi.h:269:46: expected ';' at end of member declaration
error
lib/FastLED/chipsets.h:300:6: 'mSPI' does not name a type
error
lib/FastLED/chipsets.h:302:25: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:306:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:313:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:325:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:341:3: 'mSPI' was not declared in this scope
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of dependent type 'typename NSFastLED::SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED>::globals'
error
../wiring/inc/spark_wiring_spi.h:269:46: ISO C++ forbids declaration of 'instanceSpi' with no type [-fpermissive]
error
../wiring/inc/spark_wiring_spi.h:269:46: invalid use of '::'
error
../wiring/inc/spark_wiring_spi.h:269:46: expected ';' at end of member declaration
error
lib/FastLED/chipsets.h:383:6: 'mSPI' does not name a type
error
lib/FastLED/chipsets.h:387:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:399:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:403:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:418:3: 'mSPI' was not declared in this scope
error
lib/FastLED/chipsets.h:426:3: 'mSPI' was not declared in this scope