ceres-solver/2.2.0

Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems
Recipe info
2023-12-11

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
ceres-solver/2.2.0

Using ceres-solver

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
ceres-solver/2.2.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("ceres-solver/2.2.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): Ceres
  • CMake target name(s): Ceres::ceres
  • ceres => Ceres::ceres
    
  • pkg-config file name(s): ceres-solver.pc
  • ceres => ceres-solver-ceres.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(Ceres REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Ceres::ceres)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the ceres-solver homepage listed above:

#include "ceres/autodiff_cost_function.h"
#include "ceres/autodiff_first_order_function.h"
#include "ceres/autodiff_manifold.h"
#include "ceres/c_api.h"
#include "ceres/ceres.h"
#include "ceres/conditioned_cost_function.h"
#include "ceres/constants.h"
#include "ceres/context.h"
#include "ceres/cost_function.h"
#include "ceres/cost_function_to_functor.h"
#include "ceres/covariance.h"
#include "ceres/crs_matrix.h"
#include "ceres/cubic_interpolation.h"
#include "ceres/dynamic_autodiff_cost_function.h"
#include "ceres/dynamic_cost_function.h"
#include "ceres/dynamic_cost_function_to_functor.h"
#include "ceres/dynamic_numeric_diff_cost_function.h"
#include "ceres/evaluation_callback.h"
#include "ceres/first_order_function.h"
#include "ceres/gradient_checker.h"
#include "ceres/gradient_problem.h"
#include "ceres/gradient_problem_solver.h"
#include "ceres/internal/array_selector.h"
#include "ceres/internal/autodiff.h"
#include "ceres/internal/config.h"
#include "ceres/internal/disable_warnings.h"
#include "ceres/internal/eigen.h"
#include "ceres/internal/euler_angles.h"
#include "ceres/internal/export.h"
#include "ceres/internal/fixed_array.h"
#include "ceres/internal/householder_vector.h"
#include "ceres/internal/integer_sequence_algorithm.h"
#include "ceres/internal/jet_traits.h"
#include "ceres/internal/line_parameterization.h"
#include "ceres/internal/memory.h"
#include "ceres/internal/miniglog/glog/logging.h"
#include "ceres/internal/numeric_diff.h"
#include "ceres/internal/parameter_dims.h"
#include "ceres/internal/port.h"
#include "ceres/internal/reenable_warnings.h"
#include "ceres/internal/sphere_manifold_functions.h"
#include "ceres/internal/variadic_evaluate.h"
#include "ceres/iteration_callback.h"
#include "ceres/jet.h"
#include "ceres/jet_fwd.h"
#include "ceres/line_manifold.h"
#include "ceres/loss_function.h"
#include "ceres/manifold.h"
#include "ceres/manifold_test_utils.h"
#include "ceres/normal_prior.h"
#include "ceres/numeric_diff_cost_function.h"
#include "ceres/numeric_diff_first_order_function.h"
#include "ceres/numeric_diff_options.h"
#include "ceres/ordered_groups.h"
#include "ceres/problem.h"
#include "ceres/product_manifold.h"
#include "ceres/rotation.h"
#include "ceres/sized_cost_function.h"
#include "ceres/solver.h"
#include "ceres/sphere_manifold.h"
#include "ceres/tiny_solver.h"
#include "ceres/tiny_solver_autodiff_function.h"
#include "ceres/tiny_solver_cost_function_adapter.h"
#include "ceres/types.h"
#include "ceres/version.h"