monero-cpp
monero-cpp copied to clipboard
Test Build on Windows
This issue requests building and testing this library on Windows
Can't build on Windows/MSYS2.
The build is successful, the following files need to be modified in window/msys2:
- Change the int in line 199 of ‘monero-cpp\external\monero-project\contrib\epee\include\console_handler.h’ to DWORD
- msys2\mingw64\share\cmake\Modules\FindProtobuf.cmake needs to add Protobuf_INCLUDE_DIR, Protobuf_LIBRARY variables (I am a novice and don't know how to set variables, so I directly modify this file)
The build is successful, the following files need to be modified in window/msys2:
- Change the int in line 199 of ‘monero-cpp\external\monero-project\contrib\epee\include\console_handler.h’ to DWORD
- msys2\mingw64\share\cmake\Modules\FindProtobuf.cmake needs to add Protobuf_INCLUDE_DIR, Protobuf_LIBRARY variables (I am a novice and don't know how to set variables, so I directly modify this file)
I built on MSYS2 already. MSYS2 is amazing.
Windows/MSYS2 is supported in monero-cpp v0.7.5 following these instructions.
Commits https://github.com/monero-ecosystem/monero-cpp/commit/0ec3f7f68b5259de0f6aae93842ac2352afce3de and https://github.com/monero-ecosystem/monero-cpp/commit/6d49f79588e3da40390e7426860b93d74145c7cc.