Windows環境
1,下載github源碼
https://github.com/XDagger/xdag/archive/master.zip
2,安裝VS2017
3,安裝openssl和pthreads
http://slproweb.com/download/Win64OpenSSL-1_0_2o.exe(注:不是每個版本都可以)
ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
4,設置全局變量
5,下載pthreadVC2.dll
https://github.com/XDagger/xdag/files/1972591/XDag.x64.zip 放到待執行文件同目錄
#TODO,之後還需要一些簡單的設置,基本上按照提示很容易完成
跑起來,如圖:
Mac環境
1,安裝xcode
2,brew install openssl
3,打開xcode添加libcrypto.a和libssl.a後運行,如圖