-
Notifications
You must be signed in to change notification settings - Fork 6
Windows Build
jxin hu edited this page Jul 10, 2018
·
8 revisions
Use MSYS2 required libuv build and cmake.
- You can use prebuilt dependencies for your builds https://github.com/UlordChain/ulordrig-deps/releases.
- If you just want change file icon or description don't need to compile, you can use tools like Resource Hacker.
Use mingw64.exe shell. Necessary MSYS2 packages:
pacman -Sy
pacman -S mingw-w64-x86_64-gcc
pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
git clone https://github.com/UlordChain/ulordrig.git
cd ulordrig
mkdir build && cd build
cmake .. -G "MinGW Makefiles" -DULORDRIG_DEPS=c:/ulordrig-deps/gcc/x64
make
-
-DWITH_LIBCPUID=OFF
Disable libcpuid. Auto configuration of CPU after this will be very limited. -
-DWITH_HTTPD=ON
Build with built in http server and API.