Skip to content

Windows Build

jxin hu edited this page Jul 10, 2018 · 8 revisions

Use MSYS2 required libuv build and cmake.

MSYS2 64 bit

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

CMake build:

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    

Additional CMake options

  • -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.
Clone this wiki locally