Closed muchittt closed 2 years ago
resolution.cpp problem, how to solve it?
Upgrade both arduino-esp32 and esp32cam to the latest version.
please, share the link esp32cam sir. Thank you in advance
ok sir i have upgraded to the latest version. (https://github.com/yoursunny/esp32cam)
error =
ResolveLibrary(uri/UriBraces.h)handlers.cpp:3:27: fatal error: uri/UriBraces.h: No such file or directory
-> candidates: []
compilation terminated.
Using library esp32cam-e27c0de2d2b2b793fb65100613d1107ae63cf75f at version 0.0.20220215 in folder: C:\Users\ASUS PC\Documents\Arduino\libraries\esp32cam-e27c0de2d2b2b793fbae6563cf753df11073
Using library WebServer at version 1.0 in folder: C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WebServer
Using library WiFi at version 1.0 in folder: C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
exit status 1
uri/UriBraces.h: No such file or directory
library #include <uri/UriBraces.h> can't be read what is the solution?
Latest esp32cam is b20ffa9ad2052e22355d4b7096166f0d5bc6d6f9 ; you have e27c0de2d2b2b793fb65100613d1107ae63cf75f. Latest arduino-esp32 is 2.0.3 ; you have 1.0.4.
Since my library hooks into arduino-esp32 internals, it's quite picky on versions.
done (Latest esp32cam is b20ffa9 ; you have e27c0de.) sorry sir, (Latest arduino-esp32 is 2.0.3 ; you have 1.0.4.) is this for library or board? I've upgraded the board in Arduino IDE only up to 1.0.6
and error
C:\Users\ASUS PC\Documents\Arduino\libraries\esp32cam-b20ffa9ad2052e22355d4b7096166f0d5bc6d6f9\src\esp32cam.cpp: In member function 'esp32cam::ResolutionList esp32cam::'CasomeraClass:()
C:\Users\ASUS PC\Documents\Arduino\libraries\esp32cam-b20ffa9ad2052e22355d4b7096166f0d5bc6d6f9\src\esp32cam.cpp:30:3: error: 'camera_sensor_info_t' was not declared in this scope
camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
^
C:\Users\ASUS PC\Documents\Arduino\libraries\esp32cam-b20ffa9ad2052e22355d4b7096166f0d5bc6d6f9\src\esp32cam.cpp:30:25: error: 'info' was not declared in this scope
camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
^
C:\Users\ASUS PC\Documents\Arduino\libraries\esp32cam-b20ffa9ad2052e22355d4b7096166f0d5bc6d6f9\src\esp32cam.cpp:30:70: error: 'esp_camera_sensor_get_info' was not declared in this scope
camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);
^
Using library esp32cam-b20ffa9ad2052e22355d4b7096166f0d5bc6d6f9 at version 0.0.20220215 in folder: C:\Users\ASUS PC\Documents\Arduino\libraries\esp32cam-b20ffa9ad2052e22355d4d6f5091c6fd4b70961c6d2052
Using library WebServer at version 1.0 in folder: C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WebServer
Using library WiFi at version 1.0 in folder: C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
Using library FS at version 1.0 in folder: C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS
exit status 1
Compiling error for the ESP32 Wrover Module board.
Latest arduino-esp32 is 2.0.3 ; you have 1.0.6.
sorry sir, library or board? I have upgraded the board in Arduino IDE only up to 1.0.6
Upgrade the board to 2.0.3.
error like this sir
C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi\src\WiFiGeneric.cpp: In static member function 'static bool WiFiGenericClass::setDualAntennaConfig(uint8_t, uint8_t, wifi_rx_ant_t, wifi_tx_ant_t)':
C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi\src\WiFiGeneric.cpp:1265:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi\src\WiFiGeneric.cpp:1265:5: sorry, unimplemented: non-trivial designated initializers not supported
C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi\src\WiFiGeneric.cpp:1265:5: sorry, unimplemented: non-trivial designated initializers not supported
C:\Users\ASUS PC\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-g++
The compiler that comes with arduino-esp32 2.0.3 should be gcc8_4_0-esp-2021r2-patch3. You have gcc 5.2.0. You didn't install the board correctly.
Delete the old version completedly (backup then delete C:\Users\ASUS PC\AppData\Local\Arduino15
folder), and install again.
how to reinstall sir? any tutorials? sorry i'm confused
"done compiling" in preferences must include (https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json) previously included (https://dl.espressif.com/dl/package_esp32_index.json) so only last update 1.0.6 thank you very much sir, God bless you
excuse me, i have problem related to library in link (https://github.com/yoursunny/esp32cam/commit/e27c0de2d2b2b793fb65100613d1107ae63cf75f)