Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project not build (ESP-IDF 4.0) #86

Open
feanor413 opened this issue Feb 15, 2021 · 1 comment
Open

Project not build (ESP-IDF 4.0) #86

feanor413 opened this issue Feb 15, 2021 · 1 comment

Comments

@feanor413
Copy link

I have a problem configuring. When I use idf.py build I get the error message that the x264.h not found and implicit declaration of function 'wc_AesEncryptDirect'.

../main/streaming.c:18:10: fatal error: x264.h: No such file or directory
#include <x264.h>
^~~~~~~~
compilation terminated.
...
In file included from ../components/wolfssl/wolfssl-4.1.0/wolfssl/wolfcrypt/types.h:29,
from ../components/wolfssl/wolfssl-4.1.0/wolfssl/wolfcrypt/aes.h:30,
from ../main/crypto.c:3:
../components/wolfssl/wolfssl-4.1.0/wolfssl/wolfcrypt/settings.h:1940:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp]
#warning "For timing resistance / side-channel attack prevention consider using harden options"
^~~~~~~
../main/crypto.c: In function 'encrypt_counter':
../main/crypto.c:24:9: error: implicit declaration of function 'wc_AesEncryptDirect'; did you mean 'wc_AesCbcEncrypt'? [-Werror=implicit-function-declaration]
wc_AesEncryptDirect(aes, keystream, iv);
^~~~~~~~~~~~~~~~~~~
wc_AesCbcEncrypt
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

I am using the latest ESP-IDF version (4).

Who can help me?

@okanduzyel
Copy link

Delete your esp idf folder. Build that instruction carefully https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/

And then, do what it writes in read me part https://github.com/maximkulkin/esp32-homekit-camera

I guess, you have a problem on the side of esp idf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants