| 0.3.0 | 2024 年 2 月 26 日 | 
|---|
| 0.2.2 | 2024 年 2 月 26 日 | 
|---|
| 0.2.1 | 2023 年 2 月 28 日 | 
|---|
| 0.1.0 | 2023 年 1 月 19 日 | 
|---|
#133 在 #求解器
984 每月下载量
在 2 个crate中使用(通过 ceres-solver)
2.5MB
 41K  SLoC
ceres-solver-sys
为 Ceres 求解器提供低级非安全 Rust 绑定
 
 

目前,我们仅使用 bindgen 绑定 C API。测试的最小版本为 Ceres Solver 2.0
Cargo 功能标志
- v2_1封装 Ceres Solver 2.1 API,增加了 CUDA 支持
- system(默认)链接系统版本的 Ceres Solver 库。默认情况下,它将是一个动态库,但您可以使用- pkg-config进行调整
- source(可选)覆盖- system并链接由- ceres-solver-srccrate 构建的静态库文件,它也应用- v2_1功能标志,因为- ceres-solver-srccrate 从源代码构建 Ceres Solver 2.2
system 功能需要 pkg-config 系统依赖,而 source 需要构建依赖,如 CMake 和支持 C++17 的编译器。