- CMake 3.8+
- Compiler with C++ 17 support (we recommend g++ 8 or later)
- Ubuntu/Debian:
sudo apt-get update && sudo apt-get install build-essential tar curl zip unzip pkg-config
git clone https://github.com/ltc-mweb/libmw.git --recursive
cd libmw/vcpkg/vcpkg && ./bootstrap-vcpkg.sh
./vcpkg install --triplet x64-linux @../packages.txt
cd ../.. && mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && sudo cmake --build . --target install
This should install the libmw headers in /usr/local/include/libmw
, and the dylib in /usr/local/lib
, allowing them to be found during when building the litecoin project.