Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error compiling after update fastled 3.26 #77

Open
ahmadrugby opened this issue May 19, 2019 · 1 comment
Open

error compiling after update fastled 3.26 #77

ahmadrugby opened this issue May 19, 2019 · 1 comment

Comments

@ahmadrugby
Copy link

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).

@Zyqmen
Copy link

Zyqmen commented Jun 20, 2020

Hi,
take a look:
FastLED/FastLED#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;.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants