Systematic-LEDs icon indicating copy to clipboard operation
Systematic-LEDs copied to clipboard

error compiling after update fastled 3.26

Open ahmadrugby opened this issue 6 years ago • 1 comments

error message Arduino: 1.8.5 (Windows 8.1), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from sketch\led_sysdefs.h:43:0,

             from sketch\FastLED.h:44,

             from sketch\FastLED.cpp:2:

C:\Users\rugby\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1\cores\esp8266/Arduino.h:191:14: error: conflicting declaration 'typedef bool boolean'

typedef bool boolean;

          ^

In file included from sketch\led_sysdefs.h:27:0,

             from sketch\FastLED.h:44,

             from sketch\FastLED.cpp:2:

sketch\platforms/esp/8266/led_sysdefs_esp8266.h:15:17: error: 'boolean' has a previous declaration as 'typedef uint8_t boolean'

typedef uint8_t boolean;

             ^

In file included from sketch\platforms/esp/8266/fastled_esp8266.h:8:0,

             from sketch\platforms.h:27,

             from sketch\FastLED.h:55,

             from sketch\FastLED.cpp:2:

sketch\platforms/esp/8266/clockless_esp8266.h:11:21: note: #pragma message: Using RGBW controller as per FASTLED_RGBW define

pragma message "Using RGBW controller as per FASTLED_RGBW define"

                 ^

exit status 1 Error compiling for board NodeMCU 0.9 (ESP-12 Module).

ahmadrugby avatar May 19 '19 08:05 ahmadrugby

Hi, take a look: https://github.com/FastLED/FastLED/issues/790

"Official" fix committed below; in the meantime if you need to you're welcome to do your own local work-around by opening arduino/libraries/FastLED/platforms/esp/8266/led_sysdefs_esp8266.h and deleting line 15, the one that says typedef uint8_t boolean;.

Zyqmen avatar Jun 20 '20 16:06 Zyqmen