Install Rust: https://www.rust-lang.org/tools/install
rustup install 1.67.1
rustup default 1.67.1
cargo install cargo-ndk
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android
# https://github.com/EpicCash/epic/blob/master/doc/build.md#requirements
sudo apt install build-essential \
cmake \
git \
libgit2-dev \
clang \
debhelper \
libclang-dev \
libncurses5-dev \
libncursesw5-dev \
zlib1g-dev \
pkg-config \
llvm \
cargo \
rustc \
opencl-headers \
libssl-dev \
ocl-icd-opencl-dev \
libc6-dev-i386
cd scripts/android
./install_ndk.sh
./build_all.sh
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim
cargo install cargo-lipo
cargo install cbindgen
cd scripts/ios
./build_all
Run scripts/windows/deps.sh
in WSL (may need to alter permissions like with chmod +x *.sh
) to install x86_64-w64-mingw32-gcc
and clang
or run
sudo apt-get install clang gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
Run scripts/windows/build_all.sh
Libraries will be output to scripts/windows/build
build_all.ps1
is not confirmed working and may need work eg. may need some missing dependencies added but has been included as a starting point or example for Windows users