Skip to content
Snippets Groups Projects
Unverified Commit 568385b8 authored by psychocrypt's avatar psychocrypt Committed by GitHub
Browse files

Merge pull request #908 from SeaDude/patch-1

Simplified compile instructions for noobs
parents 87317174 8a3b6984
No related branches found
No related tags found
No related merge requests found
......@@ -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 ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment