1 oclHashcat build documentation
7 * Gabriele Gristina <<matrix@hashcat.net>>
8 * Christoph Heuwieser <<dropdead@hashcat.net>>
12 To compile **oclHashcat** the following third party libraries are required:
14 - ADL_SDK v8.0 ( http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/ )
15 - NVAPI R352 ( https://developer.nvidia.com/nvapi )
16 - GDK v352_55 ( https://developer.nvidia.com/gpu-deployment-kit )
18 The next thing to do is download all the third party libraries listed above and put these files into the *deps/tmp* directory.
20 The following files are needed inside the *deps/tmp* directory:
24 gdk_linux_amd64_352_55_release.run
27 First get a copy of the **oclHashcat** repository
30 $ git clone https://github.com/hashcat/oclHashcat.git
32 Install the dependencies
36 $ sudo ./tools/deps.sh
45 to install it run "make install"
52 - build all binaries (see Note1 and Note2):
57 Note1: to install all binaries ("make binaries") you need to first clone the OpenCL-Headers within the main folder:
60 $ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
63 the tools/deps.sh script does not clone this repo automatically since for native compilation it is not needed.
65 Note2: if you get an error like the following one for "make binaries"
68 /usr/bin/ld: cannot find -lOpenCL
71 the main reason is probably that the 32-bit version of libOpenCL.so was not found.
73 A possible solution is to just symbolic link it (if the 32-bit version of libOpenCL.so.1 exists), for example:
76 sudo ln -s /usr/lib/i386-linux-gnu/libOpenCL.so.1 /usr/lib/i386-linux-gnu/libOpenCL.so
80 Enjoy your fresh **oclHashcat** binaries ;)