rzeldent / esp32cam-rtsp

Simple RTSP (streaming image) server for the ESP32CAM. Easy configuration and monitoring through the web interface.
627 stars 109 forks source link

Can't compile code on PlatformIO #103

Closed yanxke closed 8 months ago

yanxke commented 8 months ago

I'm getting the error

In file included from src/main.cpp:10:0:
include/camera_config.h:29:20: error: 'CAMERA_FB_IN_DRAM' was not declared in this scope
     .fb_location = CAMERA_FB_IN_DRAM,
                    ^

Board is esp32cam

rzeldent commented 8 months ago

Hi Yanxke,

I cannot find this line. Maybe you need to update the branch (git update)? The CI is passing: https://github.com/rzeldent/esp32cam-rtsp/actions/runs/7254756448

yanxke commented 8 months ago

It's right here

https://github.com/rzeldent/esp32cam-rtsp/blob/develop/include/camera_config.h#L29

image

yanxke commented 8 months ago

Oh, I finally figured it out. I had an old version of the esp32 framework installed on PlatformIO. After I upgraded that, it compiled okay.