Skip to content

Windows Build

TheLemont edited this page Oct 31, 2018 · 2 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/PopchainOrg/poprig.git   
cd poprig 
mkdir build && cd build    
cmake .. -G "MinGW Makefiles" -DPOPRIG_DEPS=c:/poprig-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