al06825 commented on Feb 19 : Question:

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);

yoursunny commented on Feb 19:

The latest is ESP32 Arduino 2.0.2 based on ESP-IDF 4.4-beta1.
https://github.com/espressif/arduino-esp32/releases/tag/2.0.2

al06825 commented on Feb 20 Question:

Wow TQ all for quick replies. I will give the above all a try. Will update later.

HOURS LATER… The above error is gone with the upgrade of ESP32 2.0 firmware. Really appreciate the advice.

esp32cam.cpp:30:3: error: ‘camera_sensor_info_t’ was not declared in this scope camera_sensor_info_t相关推荐

  1. 解决Cygwin编译cocos2dx 遇到的 error: 'UINT64_C' was not declared in this scope 问题

    环境工具:Win10.VS2013.cocos2d-x-2.2.6.Cygwin.ADT 问题来源:写了一个小游戏,VS2013上运行成功,就尝试着打包apk,项目导入到ADT里面,添加了cocos2 ...

  2. 【已解决】error: ‘CV_GRAY2BGR’ was not declared in this scope

    这是运行高翔 slambook2 代码出现的问题,有两种方法解决. error: 'CV_GRAY2BGR' was not declared in this scope /home/diyu/sla ...

  3. error: ‘CV_THRESH_BINARY_INV’ was not declared in this scope / error: ‘CV_THRESH_OTSU’ was not dec

    在jetson xavier NX上面编译caffe的时候遇到下面的错误,用的是opencv4.0,下面记录下编译caffe过程中的opencv错误: src/caffe/util/im_transf ...

  4. 报错解决: error: ‘writev’ was not declared in this scope

    下午在编译paxosstore时报错如下: -> # g++ -O0 -g2 -DCERTAIN_DEBUG=0 -std=c++11 -I./ -I./src/ -I./include/ -I ...

  5. error: ‘ULONG_MAX’ was not declared in this scope

    在编译.cpp文件时,出现错误: error: 'ULONG_MAX' was not declared in this scope 解决方法:在.h文件中添加头文件,#include  <cl ...

  6. 编译GitHub上的A-LOAM开源项目出现error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope

    A-LOAM链接:https://github.com/HKUST-Aerial-Robotics/A-LOAM catkin_make后出些如下错误: /home/caohaojie/SLAM/LO ...

  7. Windows网络编程 c语言 报错:[Error] ‘bzero‘ was not declared in this scope

    阅读前请看一下:我是一个热衷于记录的人,每次写博客会反复研读,尽量不断提升博客质量.文章设置为仅粉丝可见,是因为写博客确实花了不少精力.希望互相进步谢谢!! 文章目录 阅读前请看一下:我是一个热衷于记 ...

  8. error: 'ff_get_buffer' was not declared in this scope

    问题: /home/ffmpeg4android-code/ffmpeg-1.1.2/libavcodec/libstagefright.cpp: In function 'void* decode_ ...

  9. error: ‘CV_RGB2GRAY’ was not declared in this scope | OpenCV 找不到 | 错误简记

    编译代码时,遇到如下报错 # 第一次遇到tensorrtx_Cuda11/crnn/crnn.cpp:376:28: error: 'CV_BGR2GRAY' was not declared in ...

最新文章

  1. DDCTF-2018-writeup(5misc)
  2. 使用indent格式化代码
  3. mysql索引分析和优化_MySQL索引分析和优化
  4. java锁性能对比_提高Java的锁性能
  5. React开发(210):react中try...catch..
  6. windows x64 软件约定
  7. pythonfromlxml导入html_Python爬虫日记二:使用lxml解析HTML输出对应值
  8. 欧盟的贷款部门计划用区块链技术进行数字债券的交易、结算和销售
  9. yconsole使用说明
  10. 树链剖分(bzoj 1036: [ZJOI2008]树的统计Count)
  11. [译] ASP.NET 生命周期 – ASP.NET 上下文对象(七)
  12. vue 原生js写车牌号键盘
  13. Smobiler控件的使用:ListView的数据绑定及实现多选
  14. css调logo大小,css实现宽高不同的logo水平排列
  15. windows平台下cocos2d-x+Python+VS2010的win32开发环境架设
  16. Vue 中Lodop 实现批量打印
  17. 在Vue中使用 createjs
  18. 视频流 FFmpeg kvs等
  19. 关于JSON.parse(),JSON.stringify(),jQuery.parseJSON()的用法
  20. configuration 配置文件解析

热门文章

  1. AWS KVS(Kinesis Video Streams)之WebRTC的C库
  2. 前端实战:React 多页签缓存处理
  3. Linux单网卡双IP
  4. C语言---集合---合取-析取-异或-条件语句-双条件语句
  5. PCB设计布局布线,这几点技巧必须要了解!
  6. P41-前端基础-clear解决受浮动元素的影响而改变位置
  7. InnoDB:page_cleaner:1000ms intended loop 解决
  8. 算法竞赛中计算机1000ms一般能运行的范围
  9. 怎么在Arcgis中提取多个坐标点的dem值(高程)
  10. chrome插件draw.io代替visio成为流程图架构图制作新的利器