diff --git a/Windows-Build.md b/Windows-Build.md index 9ae5010..08196a2 100644 --- a/Windows-Build.md +++ b/Windows-Build.md @@ -17,7 +17,7 @@ pacman -S mingw-w64-x86_64-pkg-config ``` CMake build: ``` -cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\\libuv\include" -DUV_LIBRARY="c:\\libuv\.libs\libuv.a" +cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\\gcc\libuv\x64\include" -DUV_LIBRARY="c:\\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a" make ``` @@ -33,7 +33,7 @@ pacman -S mingw-w64-i686-pkg-config ``` CMake build: ``` -cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\\libuv\include" -DUV_LIBRARY="c:\\libuv\.libs\libuv.a" +cmake .. -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\\gcc\libuv\x86\include" -DUV_LIBRARY="c:\\gcc\libuv\x86\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\\gcc\libmicrohttpd\x86\include" -DMHD_LIBRARY="c:\\gcc\libmicrohttpd\x86\lib\libmicrohttpd.a" make ``` @@ -42,7 +42,7 @@ Go to directory with source, then: ``` mkdir build cd build -cmake .. -G "Visual Studio 15 2017 Win64" -DUV_INCLUDE_DIR=c:\\libuv\include -DUV_LIBRARY=c:\\libuv\Release\lib\libuv.lib +cmake .. -G "Visual Studio 15 2017 Win64" -DUV_INCLUDE_DIR="c:\\msvc2017\libuv\x64\include" -DUV_LIBRARY="c:\\msvc2017\libuv\x64\lib\libuv.lib" -DMHD_INCLUDE_DIR="c:\\msvc2017\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\\msvc2017\libmicrohttpd\x64\lib\libmicrohttpd.lib" ``` It will create Visual Studio Solution file **xmrig.sln**. Don't forget change Debug to Release build.