not-matt / Systematic-LEDs

Audio reactive, all in one, room lighting for your computer.
MIT License
100 stars 35 forks source link

I NEED HELP PLZ #81

Open BryanThiago opened 4 years ago

BryanThiago commented 4 years ago

I TRIED EVERYTHING!!

Arduino: 1.8.13 (Windows 7), Placa:"NodeMCU 1.0 (ESP-12E Module), 160 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 921600"

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

             from sketch\FastLED.h:44,

             from sketch\bitswap.cpp:2:

C:\Users\MARIANA\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:170: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\bitswap.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\led_sysdefs.h:43:0,

             from sketch\FastLED.h:44,

             from sketch\FastLED.cpp:2:

C:\Users\MARIANA\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:170: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\bitswap.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"

                 ^

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"

                 ^

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

             from sketch\FastLED.h:44,

             from sketch\colorpalettes.cpp:4:

C:\Users\MARIANA\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:170: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\colorpalettes.cpp:4:

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\colorpalettes.cpp:4:

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

Erro compilando para a placa NodeMCU 1.0 (ESP-12E Module)

Este relatório teria mais informações com "Mostrar a saida detalhada durante a compilação" opção pode ser ativada em "Arquivo -> Preferências"

Zyqmen commented 4 years ago

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

BryanThiago commented 4 years ago

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

Thanks i fix that problem, but these continues:

In file included from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:0:

sketch\FastLED.h:17:21: note: #pragma message: FastLED version 3.001.006

pragma message "FastLED version 3.001.006"

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

             from sketch\platforms.h:27,

             from sketch\FastLED.h:55,

             from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:

sketch\platforms/esp/8266/clockless_esp8266_dma.h:17:21: note: #pragma message: Using DMA-based RGBW controller as per FASTLED_RGBW define

pragma message "Using DMA-based RGBW controller as per FASTLED_RGBW define"

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

             from sketch\platforms.h:27,

             from sketch\FastLED.h:55,

             from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:

sketch\platforms/esp/8266/clockless_esp8266_dma.h:39:123: error: declaration of C function 'void rom_i2c_writeReg_Mask(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' conflicts with void rom_i2c_writeReg_Mask(uint32_t block, uint32_t host_id, uint32_t reg_add, uint32_t Msb, uint32_t Lsb, uint32_t indata);

In file included from C:\Users\PC\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/esp8266_peri.h:25:0, from C:\Users\PC\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:38,

             from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:1:

C:\Users\PC\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/esp8266_undocumented.h:9:13: error: previous declaration 'void rom_i2c_writeReg_Mask(int, int, int, int, int, int)' here

extern void rom_i2c_writeReg_Mask(int, int, int, int, int, int);

In file included from sketch\FastLED.h:68:0,

             from C:\Users\PC\Downloads\Systematic-LEDs-master\Systematic-LEDs-master\arduino\ws2812_controller\ws2812_controller.ino:8:

sketch\fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output

pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"

exit status 1

Erro compilando para a placa NodeMCU 1.0 (ESP-12E Module)

Zyqmen commented 4 years ago

Did you use this library? https://github.com/coryking/FastLED

  1. Try paste this instead yours code.

define FASTLED_ESP8266_RAW_PIN_ORDER

define FASTLED_RGBW

include

include

include

include

//#define FASTLED_ESP8266_DMA // better control for ESP8266 will output or RX pin requires fork https://github.com/coryking/FastLED

include "FastLED.h"

define FASTLED_ALLOW_INTERRUPTS 0 // Reduce flickering

/**** Network Information (CHANGE THESE FOR YOUR SETUP) ****/

BryanThiago commented 4 years ago

YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSS! THANKS SO MUCH

BryanThiago commented 4 years ago

Now i try my project and close the comment.

Zyqmen commented 4 years ago

Glad to hear it.

CalebRorty commented 3 years ago

I have this issue, but in the end it uploads the build anyway - does that mean I should ignore those messages?

and Yes, I added your edited code with the error still occurring.