You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove -cl-std=CL1.2 (you have -lOpenCL in the end)
Fix 186 line in src_OpenCL/utils.c (remove "}" in the end or will appear another issue if u don't)
Intall needed packages for opencl (tbh these are the ones I installed, probably last one is not needed but idk)
sudo apt-get update
sudo apt-get install ocl-icd-opencl-dev
sudo apt-get install opencl-headers
sudo apt-get install ocl-icd-libopencl1
sudo apt-get install opencl-c-headers
This fixed all my issues in the way so hope it will be usefull for people looking for solutions for themselves
Hello everyone,
I want to use BitCracker on Ubuntu 24, but I encountered the error below after executing 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_70,code=sm_70 -Xptxas -v -o bitcracker_cuda main.cu cuda_attack.cu utils.cu w_blocks.cu
make: nvcc: Aucun fichier ou dossier de ce type
make: *** [Makefile:4 : bitcracker_cuda] Erreur 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’; did you mean ‘--std=c11’?
make: *** [Makefile:9 : all] Erreur 1
====== Executables in build directory ======
Can you help me please
The text was updated successfully, but these errors were encountered: