Skip to content

Build error on ceres-solver #25

@bkkim

Description

@bkkim

I installed dependencies in advance to build sc-a-loam. And I run catkin_make as how to use, and then the error occurs as shown below.

Running command: "make cmake_check_build_system" in "/home/kbk/catkin_scaloam_ws/build"

Running command: "make -j8 -l8" in "/home/kbk/catkin_scaloam_ws/build"

[ 18%] Building CXX object SC-A-LOAM/CMakeFiles/alaserMapping.dir/src/laserMapping.cpp.o
[ 18%] Building CXX object SC-A-LOAM/CMakeFiles/alaserOdometry.dir/src/laserOdometry.cpp.o
[ 45%] Building CXX object SC-A-LOAM/CMakeFiles/alaserPGO.dir/src/laserPosegraphOptimization.cpp.o
[ 45%] Built target kittiHelper
[ 63%] Built target ascanRegistration
In file included from /usr/local/include/ceres/internal/autodiff.h:152:0,
from /usr/local/include/ceres/autodiff_cost_function.h:130,
from /usr/local/include/ceres/ceres.h:37,
from /home/kbk/catkin_scaloam_ws/src/SC-A-LOAM/src/laserMapping.cpp:54:
/usr/local/include/ceres/jet.h:1423:8: error: ‘ScalarBinaryOpTraits’ is not a class template
struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> {
^~~~~~~~~~~~~~~~~~~~

Have any idea for it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions