Crates.io | ceres-solver-sys |
lib.rs | ceres-solver-sys |
version | 0.3.0 |
source | src |
created_at | 2023-01-19 19:48:53.942068 |
updated_at | 2024-02-26 16:13:43.263177 |
description | Unsafe Rust bindings for the Ceres Solver |
homepage | |
repository | https://github.com/light-curve/ceres-solver-rs |
max_upload_size | |
id | 762879 |
size | 43,260 |
ceres-solver-sys
Currently, we bind C API only using bindgen
.
The minimal tested version of Ceres Solver is 2.0
v2_1
wraps Ceres Solver 2.1 API, which added CUDA supportsystem
(default) links a system copy of the Ceres Solver library. By default, it would be a synamic library, but you can tweak it with pkg-config
source
(optional) overrides system
and links a static library file built by ceres-solver-src
crate, it is also applies v2_1
feature flag, because ceres-solver-src
crate builds Ceres Solver 2.2 from sourcesystem
feature requires pkg-config
system dependency, while source
requires ceres-solver-src
build dependencies such as CMake and C++17 compatible compiler.