mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -91,20 +91,21 @@ for Windows. That procedure follows this simpler one.
|
||||
|
||||
cpuminer-opt can now be built on Windows for Windows using MinGW-w64 and MSYS2.
|
||||
Windows 7 or newer is required. The compiled executable can only run on the system where
|
||||
it was built. Use the hard way for a portable package.
|
||||
it was built. Use the hard way for a portable package.
|
||||
|
||||
1. Download and install the latest version of msys2-x86_64 from https://www.msys2.org/
|
||||
Leave the MSYS2 MSYS window open to install more packages in the next step.
|
||||
|
||||
2. Install the following additional packages
|
||||
|
||||
`$ pacman -Su autoconf libcurl-devel mingw-w64-x86_64-curl gmp-devel jansson-devel openssl-devel zlib-devel`
|
||||
`$ pacman -S autotools libcurl-devel mingw-w64-x86_64-curl gmp-devel jansson-devel openssl-devel zlib-devel`
|
||||
|
||||
3. Set environment variable to allow cpuminer-opt to be run from a Windows terminal,
|
||||
3. Set an environment variable to allow cpuminer-opt to run from a Windows terminal,
|
||||
otherwise it can only run from an MSYS2 terminal.
|
||||
|
||||
https://stackoverflow.com/questions/6951938/libgmp-10-dll-is-missing
|
||||
|
||||
4. Download and decompress cpuminer-opt source code or clone the repository with git. Need to install git to clone.
|
||||
4. Download and decompress cpuminer-opt source code or clone the repository with git (install git)
|
||||
Your MSYS2 home directory, usually c:\msys2\home\\[windows user]\, or a directory of your choice can be used.
|
||||
|
||||
5. Open "MSYS2 MinGW-w64" from the Windows start menu, change directories to the downloaded
|
||||
|
Reference in New Issue
Block a user