forked from xmrig/xmrig-amd
-
Notifications
You must be signed in to change notification settings - Fork 4
Windows Build
Tang Wei edited this page Jan 2, 2020
·
2 revisions
Microsoft Visual Studio 2015/2017 required libuv build and cmake.
- You can use prebuilt dependencies for your builds https://github.com/xmrig/xmrig-deps/releases.
Go to directory with source, then:
mkdir build
cd build
cmake .. -G "Visual Studio 15 2017 Win64" -DXMRIG_DEPS=c:\xmrig-deps\msvc2017\x64
Download the prebuilt dependencies for VS2019 from https://github.com/xmrig/xmrig-deps/releases.
Go to directory with source, then:
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -DXMRIG_DEPS=c:\xmrig-deps\msvc2019\x64 -DWITH_HTTPD=OFF
It will create Visual Studio Solution file xmrig-amd.sln. Don't forget change Debug to Release build.
-
-DWITH_LIBCPUID=OFF
Disable libcpuid. Auto configuration of CPU after this will be very limited. -
-DWITH_AEON=OFF
Disable CryptoNight-Lite support. -
-DWITH_HTTPD=OFF
Build without built in http server and API.