-
Notifications
You must be signed in to change notification settings - Fork 96
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: