mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-14 23:40:20 +08:00
fix build with ceres<2.1 (#1437)
This commit is contained in:
@@ -31,8 +31,13 @@
|
|||||||
#ifndef CERES_EXAMPLES_POSE_GRAPH_2D_ANGLE_MANIFOLD_H_
|
#ifndef CERES_EXAMPLES_POSE_GRAPH_2D_ANGLE_MANIFOLD_H_
|
||||||
#define CERES_EXAMPLES_POSE_GRAPH_2D_ANGLE_MANIFOLD_H_
|
#define CERES_EXAMPLES_POSE_GRAPH_2D_ANGLE_MANIFOLD_H_
|
||||||
|
|
||||||
#include "ceres/autodiff_manifold.h"
|
#if CERES_VERSION_MAJOR >= 3 || \
|
||||||
#include "ceres/manifold.h"
|
(CERES_VERSION_MAJOR == 2 && CERES_VERSION_MINOR >= 1)
|
||||||
|
#include <ceres/autodiff_manifold.h>
|
||||||
|
#include <ceres/manifold.h>
|
||||||
|
#else
|
||||||
|
#include <ceres/local_parameterization.h>
|
||||||
|
#endif
|
||||||
#include "normalize_angle.h"
|
#include "normalize_angle.h"
|
||||||
|
|
||||||
namespace ceres {
|
namespace ceres {
|
||||||
|
|||||||
Reference in New Issue
Block a user