maximkulkin / esp32-homekit-camera

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

Compiling error on macOS #49

Closed okanduzyel closed 4 years ago

okanduzyel commented 4 years ago

Hi,

I have got that error on three different ubuntu machine: https://github.com/maximkulkin/esp32-homekit-camera/issues/47

So, I tried to compile it on macOS. Now, I have got that error:

/Users/okanduzyel/esp/esp32-homekit-camera/components/esp32-camera/driver/xclk.c: In function 'camera_enable_out_clock':
/Users/okanduzyel/esp/esp32-homekit-camera/components/esp32-camera/driver/xclk.c:36:12: error: 'ledc_channel_config_t {aka struct <anonymous>}' has no member named 'hpoint'
     ch_conf.hpoint = 0;
            ^
make[1]: *** [driver/xclk.o] Error 1
make: *** [component-esp32-camera-build] Error 2
maximkulkin commented 4 years ago

I think what is happening is Espressif changing their APIs in latest esp-idf. I suggest you stick with esp-idf 4.0 version.

okanduzyel commented 4 years ago

I think what is happening is Espressif changing their APIs in latest esp-idf. I suggest you stick with esp-idf 4.0 version.

which version do you prefer to or you can compile? I install it according to its web site and that web site contains always updated version.

okanduzyel commented 4 years ago

https://docs.espressif.com/projects/esp-idf/en/v3.2.3/get-started/index.html

worked for me. Thanks a lot!

leovj commented 4 years ago

Thank Maxim! Do you mean 3.0 version?

Leo


Da: Maxim Kulkin notifications@github.com Inviato: martedì 3 dicembre 2019 20:05 A: maximkulkin/esp32-homekit-camera esp32-homekit-camera@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Oggetto: Re: [maximkulkin/esp32-homekit-camera] Compiling error on macOS (#49)

I think what is happening is Espressif changing their APIs in latest esp-idf. I suggest you stick with esp-idf 4.0 version.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/maximkulkin/esp32-homekit-camera/issues/49?email_source=notifications&email_token=ABUQXEVCSGAHU4EQPCSOCQDQW23ZRA5CNFSM4JU3YPH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF2UQ7Y#issuecomment-561334399, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABUQXEQS4LUD3TPEAQQL47DQW23ZRANCNFSM4JU3YPHQ.