Skip to content

Instantly share code, notes, and snippets.

@inder123
Created May 26, 2017 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inder123/96ddd553810fcf28d1a0938f26317e4e to your computer and use it in GitHub Desktop.
Save inder123/96ddd553810fcf28d1a0938f26317e4e to your computer and use it in GitHub Desktop.
How to install xmr-stak-cpu on MacOS X
Here is what I did to compile https://github.com/fireice-uk/xmr-stak-cpu on MacOS X successfully:
install brew
```/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"```
install cmake
```brew install cmake```
```cmake -DMICROHTTPD_REQUIRED=OFF -DOpenSSL_REQUIRED=OFF .```
Edit ```xmr-stak-cpu/minethd.cpp```
On line 51: change ```cpu_id``` with ```static_cast<integer_t>(cpu_id)```
```make install```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment