Building SkinFixer requires some extra care due to part of it being written in Rust. This entire document assumes you are using Debian or a Debian derived distro.
- Add extra archs:
dpkg --add-architecture arm64
,dpkg --add-architecture armhf
- Add GCC compilers & Make:
apt install gcc gcc-aarch64-linux-gnu gcc-mingw-w64-x86-64 gcc-arm-linux-gnueabihf make
- Install libssl & pkg-config:
apt install libssl-dev:arm64 pkg-config:arm64 libssl-dev:armhf
- Install Rust toolchain:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Add rustup targets:
rustup target add aarch64-unknown-linux-gnu arm-unknown-linux-gnueabihf x86_64-pc-windows-gnu
apt install openjdk-16-jdk-headless
You must also have Docker installed. This is required for building the linux x86_64 target as well as the Apple darwin x86_64 target
Either make testjar
or make releasejar
, depending on which you want