We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.cpp: In lambda function: X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.cpp:64:20: error: no matching function for call to 'AsyncWebServerRequest::send(int, const char [10], uint8_t*&, size_t&)' 64 | request->send(200, "image/jpg", SystemCamera.GetPhotoFb()->buf, SystemCamera.GetPhotoFb()->len); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.h:18, from X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.cpp:13: X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:241:10: note: candidate: 'void AsyncWebServerRequest::send(const String&, size_t, AwsResponseFiller, AwsTemplateProcessor)' 241 | void send(const String& contentType, size_t len, AwsResponseFiller callback, AwsTemplateProcessor templateCallback=nullptr); | ^~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:241:72: note: no known conversion for argument 3 from 'uint8_t*' {aka 'unsigned char*'} to 'AwsResponseFiller' {aka 'std::function<unsigned int(unsigned char*, unsigned int, unsigned int)>'} 241 | void send(const String& contentType, size_t len, AwsResponseFiller callback, AwsTemplateProcessor templateCallback=nullptr); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:236:10: note: candidate: 'void AsyncWebServerRequest::send(AsyncWebServerResponse*)' 236 | void send(AsyncWebServerResponse *response); | ^~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:236:10: note: candidate expects 1 argument, 4 provided X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:237:10: note: candidate: 'void AsyncWebServerRequest::send(int, const String&, const String&)' 237 | void send(int code, const String& contentType=String(), const String& content=String()); | ^~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:237:10: note: candidate expects 3 arguments, 4 provided X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:238:10: note: candidate: 'void AsyncWebServerRequest::send(FS&, const String&, const String&, bool, AwsTemplateProcessor)' 238 | void send(FS &fs, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr); | ^~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:238:19: note: no known conversion for argument 1 from 'int' to 'AsyncWebServerRequest::FS&' {aka 'fs::FS&'} 238 | void send(FS &fs, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr); | ~~~~^~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:239:10: note: candidate: 'void AsyncWebServerRequest::send(File, const String&, const String&, bool, AwsTemplateProcessor)' 239 | void send(File content, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr); | ^~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:239:20: note: no known conversion for argument 1 from 'int' to 'AsyncWebServerRequest::File' {aka 'fs::File'} 239 | void send(File content, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr); | ~~~~~^~~~~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:240:10: note: candidate: 'void AsyncWebServerRequest::send(Stream&, const String&, size_t, AwsTemplateProcessor)' 240 | void send(Stream &stream, const String& contentType, size_t len, AwsTemplateProcessor callback=nullptr); | ^~~~ X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:240:23: note: no known conversion for argument 1 from 'int' to 'Stream&' 240 | void send(Stream &stream, const String& contentType, size_t len, AwsTemplateProcessor callback=nullptr); | ~~~~~~~~^~~~~~ Multiple libraries were found for "AsyncTCP.h" Used: X:\ArduinoSketch\Libraries\AsyncTCP Not used: X:\ArduinoSketch\Libraries\Async_TCP Multiple libraries were found for "ESPAsyncWebServer.h" Used: X:\ArduinoSketch\Libraries\ESPAsyncWebServer Not used: X:\ArduinoSketch\Libraries\ESP_Async_WebServer exit status 1
Compilation error: no matching function for call to 'AsyncWebServerRequest::send(int, const char [10], uint8_t*&, size_t&)'
The text was updated successfully, but these errors were encountered:
Did you use the correct version of the library?
Sorry, something went wrong.
No branches or pull requests
X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.cpp: In lambda function:
X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.cpp:64:20: error: no matching function for call to 'AsyncWebServerRequest::send(int, const char [10], uint8_t*&, size_t&)'
64 | request->send(200, "image/jpg", SystemCamera.GetPhotoFb()->buf, SystemCamera.GetPhotoFb()->len);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.h:18,
from X:\ArduinoSketch\ESP32Cam-Prusa\Prusa-Firmware-ESP32-Cam-master\ESP32_PrusaConnectCam\WebServer.cpp:13:
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:241:10: note: candidate: 'void AsyncWebServerRequest::send(const String&, size_t, AwsResponseFiller, AwsTemplateProcessor)'
241 | void send(const String& contentType, size_t len, AwsResponseFiller callback, AwsTemplateProcessor templateCallback=nullptr);
| ^~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:241:72: note: no known conversion for argument 3 from 'uint8_t*' {aka 'unsigned char*'} to 'AwsResponseFiller' {aka 'std::function<unsigned int(unsigned char*, unsigned int, unsigned int)>'}
241 | void send(const String& contentType, size_t len, AwsResponseFiller callback, AwsTemplateProcessor templateCallback=nullptr);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:236:10: note: candidate: 'void AsyncWebServerRequest::send(AsyncWebServerResponse*)'
236 | void send(AsyncWebServerResponse *response);
| ^~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:236:10: note: candidate expects 1 argument, 4 provided
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:237:10: note: candidate: 'void AsyncWebServerRequest::send(int, const String&, const String&)'
237 | void send(int code, const String& contentType=String(), const String& content=String());
| ^~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:237:10: note: candidate expects 3 arguments, 4 provided
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:238:10: note: candidate: 'void AsyncWebServerRequest::send(FS&, const String&, const String&, bool, AwsTemplateProcessor)'
238 | void send(FS &fs, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr);
| ^~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:238:19: note: no known conversion for argument 1 from 'int' to 'AsyncWebServerRequest::FS&' {aka 'fs::FS&'}
238 | void send(FS &fs, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr);
| ~~~~^~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:239:10: note: candidate: 'void AsyncWebServerRequest::send(File, const String&, const String&, bool, AwsTemplateProcessor)'
239 | void send(File content, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr);
| ^~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:239:20: note: no known conversion for argument 1 from 'int' to 'AsyncWebServerRequest::File' {aka 'fs::File'}
239 | void send(File content, const String& path, const String& contentType=String(), bool download=false, AwsTemplateProcessor callback=nullptr);
| ~~~~~^~~~~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:240:10: note: candidate: 'void AsyncWebServerRequest::send(Stream&, const String&, size_t, AwsTemplateProcessor)'
240 | void send(Stream &stream, const String& contentType, size_t len, AwsTemplateProcessor callback=nullptr);
| ^~~~
X:\ArduinoSketch\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:240:23: note: no known conversion for argument 1 from 'int' to 'Stream&'
240 | void send(Stream &stream, const String& contentType, size_t len, AwsTemplateProcessor callback=nullptr);
| ~~~~~~~~^~~~~~
Multiple libraries were found for "AsyncTCP.h"
Used: X:\ArduinoSketch\Libraries\AsyncTCP
Not used: X:\ArduinoSketch\Libraries\Async_TCP
Multiple libraries were found for "ESPAsyncWebServer.h"
Used: X:\ArduinoSketch\Libraries\ESPAsyncWebServer
Not used: X:\ArduinoSketch\Libraries\ESP_Async_WebServer
exit status 1
Compilation error: no matching function for call to 'AsyncWebServerRequest::send(int, const char [10], uint8_t*&, size_t&)'
The text was updated successfully, but these errors were encountered: