mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-01 12:23:57 +01:00
Merge pull request #908 from SeaDude/patch-1
Simplified compile instructions for noobs
This commit is contained in:
@@ -75,16 +75,19 @@
|
||||
|
||||
## Compile
|
||||
|
||||
- download and unzip `xmr-stak`
|
||||
- download `xmr-stak` [Source Code.zip](https://github.com/fireice-uk/xmr-stak/releases) and save to a location in your home folder (C:\Users\USERNAME\)
|
||||
- extract the Source Code.zip file
|
||||
- open the command line terminal `cmd`
|
||||
- `cd` to your unzipped source code directory
|
||||
- execute the following commands (NOTE: path to VS2017 can be different)
|
||||
- `cd` to the extracted source code directory
|
||||
- execute the following commands (NOTE: path to Visual Studio 2017 Community can be different)
|
||||
```
|
||||
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"
|
||||
set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl
|
||||
mkdir build
|
||||
cd build
|
||||
```
|
||||
- Sometimes Windows will `cd` to `C:\Users\USERNAME\source\build\` instead of `C:\Users\USERNAME\xmr-stak-<version>\build`. Ensure you are in the correct `build` directory before proceeding.
|
||||
|
||||
- for CUDA 8*
|
||||
```
|
||||
cmake -G "Visual Studio 15 2017 Win64" -T v140,host=x64 ..
|
||||
|
||||
Reference in New Issue
Block a user