bitcracker
bitcracker copied to clipboard
Installation errors
I get 2 errors when trying to install ====== 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_60,code=sm_60 -Xptxas -v -o bitcracker_cuda main.cu cuda_attack.cu utils.cu w_blocks.cu make: nvcc: Command not found make: *** [Makefile:2: bitcracker_cuda] Error 127
====== 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] Error 1
====== Executables in build directory ======
Hello, I have the same problem any suggestions to solve this issue??
For the cuda you are missing a cuda installation or it's not in your path.
It doesn't work with CUDA 11 anyway.
For the OpenCL version open src_OpenCL/Makefile
with a text editor and change in the gcc line the -cl-std=CL1.2
to -lOpenCL
.
Now it should compile with a couple of warnings.
And for me it works using OpenCL on a RTX 3070 with -t 32 -b 64
at 1723.80 pw/sec
.