forked from samr7/vanitygen
-
Notifications
You must be signed in to change notification settings - Fork 8
/
INSTALL
43 lines (36 loc) · 1.73 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Linux/OSX with GNU make:
make
Windows:
Tools: Microsoft Visual Studio Buid Tools (preferred) or Express (Not community
edition!!!) Download it from (and install the optional packages selected by
default, after you download the installer):
https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
Prerequisites:
- OpenSSL 1.1 (32 bit): http://www.slproweb.com/products/Win32OpenSSL.html
- pthreads-Win32: http://sourceware.org/pthreads-win32/ (which leads to
ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-9-1-release/
Copy/paste dll+include+lib to C:\pthreads)
- PCRE (7.9 DLL): http://www.psyon.org/projects/pcre-win32/
- AMD APP SDK (preferred:
https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/ ,
version 3.0) -or- NVIDIA CUDA SDK
Once you have set up these components, edit the following variables
in Makefile.Win32 to reflect the paths where these components were
installed:
OPENSSL_DIR
PTHREADS_DIR
PCRE_DIR
OPENCL_DIR
Note that pthreads and PCRE may be built as static libraries or DLLs.
The default Makefile.Win32 includes CFLAGS required to link the static
versions of those libraries. If you want to link against DLLs, make
sure to change the CFLAGS.
Additionally, to create a usable static build of the pthreads-Win32
library, some other changes must be done. You must edit the Makefile,
and remove "/MD" from the CFLAGS. Then, build with: "nmake VC-static"
After dependencies have been prepared, open a Visual Studio command
prompt window (preferably
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2017\
Visual Studio Tools\Developer Command Prompt for VS 2017.lnk",
if you've installed Build Tools), and run after cd:
nmake /fMakefile.Win32 vanitygen.exe oclvanitygen.exe