-
Notifications
You must be signed in to change notification settings - Fork 89
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
make errors #29
Comments
I try again and it reports like this.I guess that it is because of the ceres but I don't know how to fix it. In file included from /usr/local/include/ceres/internal/autodiff.h:153:0, |
[ 58%] Building CXX object ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/odomEstimationClass.cpp.o
In file included from /usr/local/include/ceres/internal/autodiff.h:153:0,
from /usr/local/include/ceres/autodiff_cost_function.h:130,
from /usr/local/include/ceres/ceres.h:37,
from /home/fan/catkin_ws/src/ssl_slam/include/lidarOptimization.h:7,
from /home/fan/catkin_ws/src/ssl_slam/src/lidarOptimization.cpp:5:
/usr/local/include/ceres/jet.h:998:8: error: ‘ScalarBinaryOpTraits’ is not a class template
struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> {
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for ‘template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits’
struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> {
^
/usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type ‘int’, got ‘BinaryOp’
ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/build.make:89: recipe for target 'ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/lidarOptimization.cpp.o' failed
make[2]: *** [ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/lidarOptimization.cpp.o] Error 1
[ 76%] Building CXX object ssl_slam/CMakeFiles/ssl_slam_octo_mapping_node.dir/src/lidar.cpp.o
ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/build.make:75: recipe for target 'ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/odomEstimationNode.cpp.o' failed
make[2]: *** [ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/odomEstimationNode.cpp.o] Error 1
ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/build.make:117: recipe for target 'ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/odomEstimationClass.cpp.o' failed
make[2]: *** [ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/src/odomEstimationClass.cpp.o] Error 1
CMakeFiles/Makefile2:443: recipe for target 'ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/all' failed
make[1]: *** [ssl_slam/CMakeFiles/ssl_slam_odom_estimation_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
2[ 82%] Linking CXX executable /home/fan/catkin_ws/devel/lib/ssl_slam/ssl_slam_laser_processing_node
[ 88%] Linking CXX executable /home/fan/catkin_ws/devel/lib/ssl_slam/ssl_slam_octo_mapping_node
[ 94%] Linking CXX executable /home/fan/catkin_ws/devel/lib/ssl_slam/ssl_slam_laser_mapping_node
[ 94%] Built target ssl_slam_octo_mapping_node
[ 94%] Built target ssl_slam_laser_processing_node
[ 94%] Built target ssl_slam_laser_mapping_node
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
any help appreciated
The text was updated successfully, but these errors were encountered: