darling
darling copied to clipboard
use -DTARGET_i386=OFF cmake then:
Build Log What is the build error?
[ 18%] Generating test_data.h
Traceback (most recent call last):
File "/home/mraodragon/repos/darling/src/external/corecrypto/tests/../scripts/generate-test-data.py", line 5, in <module>
from cryptography.hazmat.backends import default_backend
ImportError: No module named cryptography.hazmat.backends
make[2]: *** [src/external/corecrypto/tests/CMakeFiles/generate_test_data.dir/build.make:73:src/external/corecrypto/tests/test_data.h] 错误 1
make[1]: *** [CMakeFiles/Makefile2:20867:src/external/corecrypto/tests/CMakeFiles/generate_test_data.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
System Information
What system are you building with?
Software | Version |
---|---|
Clang | 17.0.6 |
CMake | 3.28.3 |
Linux Kernel | 6.7.6 |
Darling | 25afbc76428c39c3909e9efcf5caef1140425211 |
Try to install Python if you don't have it and run pip install cryptography
.