Chat > Guides & Projects

temp sensors display to webpage

<< < (2/7) > >>

Clock'd 0Ne:
https://forum.arduino.cc/t/error-with-esp8266-libray/578978

Looks like you might not need to install that library separately?  :dunno:

This guy has your error and fixed it installing some missing dependencies:
https://github.com/Aircoookie/WLED/issues/584

neXus:
Not across their coding setup but when you get those sorts of library issues/errors it means multiple versions of the same library being called.


If there is a build/library/package manager just go in and remove the ESPAsyncTCP-master one.
Often if you switch your build or branch for a package etc the old legacy is there so if you run a code Build it runs both. There would be a clean/clear function to clear out?
That or just go to that folder and delete the master one or other depending on which one your actually including in your project.

XEntity:

--- Quote from: neXus on July 11, 2022, 07:12:39 AM ---Not across their coding setup but when you get those sorts of library issues/errors it means multiple versions of the same library being called.


If there is a build/library/package manager just go in and remove the ESPAsyncTCP-master one.
Often if you switch your build or branch for a package etc the old legacy is there so if you run a code Build it runs both. There would be a clean/clear function to clear out?
That or just go to that folder and delete the master one or other depending on which one your actually including in your project.

--- End quote ---

Looks like it's the other one causing the issue, so just copy this folder out of this location (in case you need to put it back): C:\Program Files (x86)\Arduino\libraries\ESPAsyncTCP

knighty:
ok... now I get....


--- Code: ---Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E 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, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















sketch_jul11a:15:12: fatal error: C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument

   15 |   #include <ESPAsyncWebServer.h>S

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

compilation terminated.

exit status 1

C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument



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

--- End code ---

neXus:
That means the library the code needs is not there so it does not understand what that does.
So Either...
You removed the wrong one
Part of your code is using one and another part is using the other and there are conflicts.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version