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

Invoking "make -j16 -l16" failed #128

Open
Zhangjyhhh opened this issue Apr 10, 2023 · 0 comments
Open

Invoking "make -j16 -l16" failed #128

Zhangjyhhh opened this issue Apr 10, 2023 · 0 comments

Comments

@Zhangjyhhh
Copy link

on ubuntu 18.04,i use ceres 1.14.0 version, pcl :1.19.1. when I execute "catkin_making",error happpens like this:
`(base) zjy@zjy-QiTianM435-N000:~/catkin_ws$ catkin_make
Base path: /home/zjy/catkin_ws
Source space: /home/zjy/catkin_ws/src
Build space: /home/zjy/catkin_ws/build
Devel space: /home/zjy/catkin_ws/devel
Install space: /home/zjy/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/zjy/catkin_ws/build"

Running command: "make -j16 -l16" in "/home/zjy/catkin_ws/build"

Consolidate compiler generated dependencies of target livox_laserMapping
Consolidate compiler generated dependencies of target read_camera
[ 33%] Built target read_camera
[ 66%] Built target livox_scanRegistration
[ 83%] Linking CXX executable /home/zjy/catkin_ws/devel/lib/loam_livox/livox_laserMapping
CMakeFiles/livox_laserMapping.dir/source/laser_mapping.cpp.o:在函数‘Maps_keyframe::max_similiarity_of_two_image_opencv(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, int)’中:
/home/zjy/catkin_ws/src/loam_livox/source/cell_map_keyframe.hpp:1214:对‘cv::Mat::Mat()’未定义的引用
/home/zjy/catkin_ws/src/loam_livox/source/cell_map_keyframe.hpp:1214:对‘cv::Mat::Mat()’未定义的引用
/home/zjy/catkin_ws/src/loam_livox/source/cell_map_keyframe.hpp:1220:对‘cv::Mat::Mat()’未定义的引用
/home/zjy/catkin_ws/src/loam_livox/source/cell_map_keyframe.hpp:1226:对‘cv::Mat::Mat()’未定义的引用
CMakeFiles/livox_laserMapping.dir/source/laser_mapping.cpp.o:在函数‘Maps_keyframe::max_similiarity_of_two_image(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, float)’中:
/home/zjy/catkin_ws/src/loam_livox/source/cell_map_keyframe.hpp:1172:对‘cv::Mat::Mat()’未定义的引用
CMakeFiles/livox_laserMapping.dir/source/laser_mapping.cpp.o:/home/zjy/catkin_ws/src/loam_livox/source/cell_map_keyframe.hpp:1172: 跟着更多未定义的参考到 cv::Mat::Mat()
collect2: error: ld returned 1 exit status
loam_livox/CMakeFiles/livox_laserMapping.dir/build.make:451: recipe for target '/home/zjy/catkin_ws/devel/lib/loam_livox/livox_laserMapping' failed
make[2]: *** [/home/zjy/catkin_ws/devel/lib/loam_livox/livox_laserMapping] Error 1
CMakeFiles/Makefile2:2037: recipe for target 'loam_livox/CMakeFiles/livox_laserMapping.dir/all' failed
make[1]: *** [loam_livox/CMakeFiles/livox_laserMapping.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j16 -l16" failed`

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