Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
g2o/core/optimizable_graph.h
✓ #include <g2o/core/optimizable_graph.h>
Initialize a block solver for graph optimization
#include <g2o/core/optimizable_graph.h>
#include <g2o/core/block_solver.h>
#include <g2o/solvers/csparse/linear_solver_csparse.h>
int main() {
typedef g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1>> BlockSolver;
typedef g2o::LinearSolverCSparse<BlockSolver::PoseMatrixType> LinearSolver;
auto solver = std::make_unique<BlockSolver>(std::make_unique<LinearSolver>());
return 0;
}
Upgrade
Version history
2024-12-28latest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.