This is the repo that builds ceres and its dependents for for use in wpical. It uses CMake to build all the dependencies and Gradle to package it for use in allwpilib.
The build requirements are the same as allwpilib.
- Clone the repo with
git clone --recursive https://github.com/wpilibsuite/thirdparty-ceres.git
. - Build the artifacts with
gradlew copyAllOutputs
and publish the artifacts locally withgradlew publish
.
The Eigen version must be synchronized with WPILib's, or compatibility issues may arise. This includes patches made via upstream_utils that change Eigen functionality. As of 2025.2.1, this repo copied one patch used to make assignment constexpr, but did not copy over a patch to disable warnings or a patch to fix Intellisense, since neither affect the binary output.