jasoncoon / esp8266-fastled-webserver

GNU General Public License v3.0
712 stars 360 forks source link

default.h file: no such file #252

Open ads134285 opened 1 year ago

ads134285 commented 1 year ago

new to Arduino and getting this message after trying to verify the coding any help please would be much appreciated

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, QIO, 4M (1M SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver\common.h:27:0,

             from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:19:

config.h:59:55: fatal error: ./include/configs/product/default.h: No such file or directory

     #include "./include/configs/product/default.h"

                                                   ^

compilation terminated.

exit status 1

./include/configs/product/default.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

ads134285 commented 1 year ago

getting this now please help

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main (5)\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:19:

common.h:33:12: fatal error: ArduinoJson.h: No such file or directory

33 | #include "ArduinoJson.h"

  |            ^~~~~~~~~~~~~~~

compilation terminated.

exit status 1

ArduinoJson.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

ads134285 commented 1 year ago

keep working through bits now getting this

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: '#pragma message: FastLED version 3.002.010'

14 | # pragma message "FastLED version 3.002.010"

  |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:65,

             from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/fastspi.h:115:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output'

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

  |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino: In function 'void setup()':

esp8266-fastled-webserver:283:28: error: 'D3' was not declared in this scope

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                            ^~

esp8266-fastled-webserver:283:55: error: no matching function for call to 'CFastLED::addLeds<WS2812, , GRB>(CRGB [200], int)'

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:223:129: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, unsigned char SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)'

223 | template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                                                                                                                                 ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:223:129: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: template argument 2 is invalid

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:237:95: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

237 | template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                                                                                               ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:237:95: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: template argument 2 is invalid

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:251:113: note: candidate: 'template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

251 | template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                                                                                                                 ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:251:113: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: template argument 2 is invalid

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:301:25: note: candidate: 'template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

301 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:301:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: template argument 2 is invalid

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:307:25: note: candidate: 'template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

307 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:307:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: wrong number of template arguments (3, should be 2)

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:313:25: note: candidate: 'template<template class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

313 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:313:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: wrong number of template arguments (3, should be 2)

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:349:25: note: candidate: 'template<template class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

349 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:349:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: wrong number of template arguments (3, should be 2)

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:355:25: note: candidate: 'template<template class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

355 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:355:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: wrong number of template arguments (3, should be 1)

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:423:25: note: candidate: 'template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

423 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:423:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: template argument 2 is invalid

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

In file included from C:\Users\alexh\OneDrive\Desktop\esp8266-fastled-webserver-main\esp8266-fastled-webserver\esp8266-fastled-webserver.ino:1:

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:464:25: note: candidate: 'template<EBlockChipsets CHIPSET, int NUM_LANES> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'

464 | static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {

  |                         ^~~~~~~

C:\Users\alexh\OneDrive\Documents\Arduino\libraries\FastLED/FastLED.h:464:25: note: template argument deduction/substitution failed:

esp8266-fastled-webserver:283:55: error: wrong number of template arguments (3, should be 2)

283 | FastLED.addLeds <WS2812, D3 , GRB >(leds, NUM_PIXELS); // for WS2812 (Neopixel)

  |                                                       ^

exit status 1

'D3' was not declared in this scope

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

qawsed55 commented 1 year ago

I have same issue if I select ESP8266 GENERIC BOARD. When I change it to NODE MCU 12E module - it compiles.

macsimski commented 1 year ago

where do you select this? if i do it in the ide, nothing changes in the error output for me in issue #256