esp32cam: esp32cam.cpp error: 'camera_sensor_info_t' was not declared in this scope
Hello… I upgraded ESP32 to 1.0.6 (latest). Keeps getting this error from your esp32cam.cpp.
\esp32cam-main\src\esp32cam.cpp: In member function 'esp32cam::ResolutionList esp32cam::CameraClass::listResolutions() const':
\esp32cam-main\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);
^
\esp32cam-main\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);
^
\esp32cam-main\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);
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (7 by maintainers)
You are using arduino-esp32 1.0.6. It needs to be the latest version 2.0.2.
See also https://github.com/platformio/platform-espressif32/issues/619
A previous version of esp32cam seems to work with 1.0.6 though: