e-ago / bitcracker

BitCracker is the first open source password cracking tool for memory units encrypted with BitLocker
GNU General Public License v2.0
796 stars 187 forks source link

编译失败 #22

Open ly20180228 opened 4 years ago

ly20180228 commented 4 years ago

root@kali:~/Desktop/bitcracker-master# ./build.sh

====== Build BitCracker Hash Extractor ====== rm -rf *.o rm -rf ../build/bitcracker_hash gcc bitcracker_hash.c -o bitcracker_hash

====== Build BitCracker Recovery Password generator ====== rm -rf *.o rm -rf ../build/bitcracker_rpgen gcc bitcracker_rpgen.c -o bitcracker_rpgen

====== Build BitCracker CUDA version ====== rm -rf *.o rm -rf ../build/bitcracker_cuda nvcc -gencode arch=compute_35,code=sm_35 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -Xptxas -v -o bitcracker_cuda main.cu cuda_attack.cu utils.cu w_blocks.cu ERROR: No supported gcc/g++ host compiler found, but clang-8 is available. Use 'nvcc -ccbin clang-8' to use that instead. make: *** [Makefile:2:bitcracker_cuda] 错误 1

====== Build BitCracker OpenCL version ====== rm -rf *.o rm -rf bitcracker_opencl gcc -I/usr/include -L/usr/lib64 -L/usr/lib -I/usr/local/cuda/include -L/usr/local/cuda/lib64 -cl-std=CL1.2 -O3 -Wextra -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c -lOpenCL gcc: error: unrecognized command line option ‘-cl-std=CL1.2’ make: *** [Makefile:9:all] 错误 1

没有接触过linux,但是对您的项目非常有兴趣,根据您的步骤,到这里就失败了,请帮忙看看哪里的问题,感谢

HelderMagalhaes commented 3 years ago

gcc: error: unrecognized command line option ‘-cl-std=CL1.2’

Seems a toolchain requirement problem: see issue #3. I'd suggest closing this as duplicate.