-
Notifications
You must be signed in to change notification settings - Fork 1
Windows Build
TheLemont edited this page Oct 31, 2018
·
2 revisions
Use MSYS2 required libuv build and cmake.
- You can use prebuilt dependencies for your builds https://github.com/PopchainOrg/poprig-deps/releases/tag/v1.0.0.
- If you just want change file icon or description don't need to compile, you can use tools like Resource Hacker.
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.