yoursunny / esp32cam

OV2640 camera on ESP32-CAM, Arduino library
https://esp32cam.yoursunny.dev
ISC License
499 stars 174 forks source link

WifiCam Compile Error #30

Closed nhan0204 closed 2 years ago

nhan0204 commented 2 years ago

I got here by follow a face recognition tutorial: https://how2electronics.com/face-recognition-based-attendance-system-using-esp32-cam/

I downloaded the eps32-main.zip and included it to the sketch's library. After compiling, I got this error:

c:/users/nhan/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory

c:/users/nhan/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory collect2.exe: error: ld returned 1 exit status

It's seemed to be caused by some missing gcc files in the esp32 board lib. "cannot find _vectors.o" "cannot find crt1-sim.o"

yoursunny commented 2 years ago

Please do not download ZIP package. ESP32 Arduino Core should be installed via Arduino IDE. esp32cam library should be installed via git clone.