arkhipenko / esp32-mjpeg-multiclient-espcam-drivers

ESP32 MJPEG Multiclient Streaming Server with latest Espressif drivers
BSD 3-Clause "New" or "Revised" License
167 stars 40 forks source link

Compile error after update #14

Closed krambriw closed 3 years ago

krambriw commented 3 years ago

Hi, compiling your original examples work fine on my debian laptop! All of them compiles and when uploaded to my esp-eye it works. But if I follow the guide to update it doesn't compile anymore:

Download latest ZIP file from https://github.com/espressif/esp32-camera.git into the esp32-cam subfolder
Delete examples folder from the archive
unzip using unzip -j esp32-cam-master.zip command. This will place all files in the same folder

It complains soc/system_reg.h: No such file or directory

Any guidance really appreciated, Best regards, Walter

fingalo commented 3 years ago

I also got this issue. My solution was as follows:

  1. delete all files in the arduino project except .ino and camera_pins.h
  2. unpack the espressif git to the directory as instructed (delete examples)
  3. ... but some files are overwritten as there are several versions of them, so from the git source copy the file esp32-camera-master\esp32-camera-master\target\esp32\ll_cam.c
  4. delete the files coming from the test directory

If I remember correctly this is all. I just compiled and identified files with compile errors and removed them.

regards fingalo

arkhipenko commented 3 years ago

Updated the README - should work (for now).