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 v9.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:
22 R352-developer.zip (only needed when cross-compiling for Windows)
25 First get a copy of the **oclHashcat** repository
28 $ git clone https://github.com/hashcat/oclHashcat.git
30 Install the dependencies (root permission needed)
43 to install it run "make install"
50 - build native linux/osx binaries
55 - build all binaries (see Note1 and Note2):
60 Note1: to install all binaries ("make binaries") you need to first clone the OpenCL-Headers within the main folder:
63 $ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
66 the tools/deps.sh script does not clone this repo automatically since for native compilation it is not needed.
68 Note2: if you get an error like the following one for "make binaries"
71 /usr/bin/ld: cannot find -lOpenCL
74 the main reason is probably that the 32-bit version of libOpenCL.so was not found.
76 A possible solution is to just symbolic link it (if the 32-bit version of libOpenCL.so.1 exists), for example:
79 sudo ln -s /usr/lib/i386-linux-gnu/libOpenCL.so.1 /usr/lib/i386-linux-gnu/libOpenCL.so
83 Enjoy your fresh **oclHashcat** binaries ;)