maximkulkin / esp32-homekit-camera

Firmware for esp32-camera module to act as Apple Homekit IP camera
MIT License
394 stars 78 forks source link

Error compiling: Streaming.c --> jpeglib.h not found #93

Closed andrewsampaio closed 2 years ago

andrewsampaio commented 2 years ago

Hi @maximkulkin, first of all thanks for this project! What a remarcable work you've done here... I was able to follow all readme instructions and configure the solution as described. Now i have a problem when compiling the solution whith one of the .h files included by streaming.c. Please find bellow a dump of the terminal: $ make all Toolchain path: /c/Esp32/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: esp-2021r1 Compiler version: 8.4.0 Python requirements from C:/msys32/home/Andrew/esp/esp-idf\requirements.txt are satisfied.

App "esp32-homekit-camera" version: 9ae7bf0-dirty CC build/main/streaming.o C:/msys32/home/Andrew/esp/esp32-homekit-camera/main/streaming.c:19:10: fatal error: jpeglib.h: No such file or directory

include

      ^~~~~~~~~~~

compilation terminated. make[1]: [/home/Andrew/esp/esp-idf/make/component_wrapper.mk:292: streaming.o] Erro 1 make: [C:/msys32/home/Andrew/esp/esp-idf/make/project.mk:635: component-main-build] Erro 2 Thanks in advance!

andrewsampaio commented 2 years ago

I dont know why but its now working after make clean.