This is a repository containing an Android build script for wpilib created by FTC Team 16391, the Rising Ninjas.
The build script in this repository will compile wpilib for: arm64-v8a, x86_64
If you wish to build the libraries for yourself, you may either use the included Nix flake, or ensure that you have the following tools installed:
- CMake
- GCC / Clang
- Tar
- Zip
Also, download the Android NDK (version r27c at the time of writing), and extract it into the same directory as the build script.
In a terminal, enter the directory that the build script is in and run
$ ./build.sh
This will build wpilib, and create two directories in the same directory as the build script containing all of the built libraries. THIS WILL TAKE A WHILE! On top of that, it will automatically create two archives: libaries.tar.gz and libraries.zip.
Note, these instructions are for Linux, if you are using Windows, then you will need to use the Windows Subsystem for Linux
If you are looking for the precompiled libraries, visit here