Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on ceres-solver #25

Open
bkkim opened this issue Jun 30, 2023 · 0 comments
Open

Build error on ceres-solver #25

bkkim opened this issue Jun 30, 2023 · 0 comments

Comments

@bkkim
Copy link

bkkim commented Jun 30, 2023

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?

@bkkim bkkim changed the title Build error using ceres-solver Build error on ceres-solver Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant