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

Installation errors #34

Open
unclevito2017 opened this issue Jan 10, 2021 · 2 comments
Open

Installation errors #34

unclevito2017 opened this issue Jan 10, 2021 · 2 comments

Comments

@unclevito2017
Copy link

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 ======

@nnnkkk9
Copy link

nnnkkk9 commented Apr 14, 2021

Hello, I have the same problem any suggestions to solve this issue??

@StefanFabian
Copy link

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.

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

3 participants