-
Notifications
You must be signed in to change notification settings - Fork 862
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
catkin_make error #223
Comments
Try this:
|
When you build sophus, do Go to the line @LIANGXINKAI references and add that path to the
I also needed to add the path in
|
@smorad @LIANGXINKAI Thank you for your answer, I am sorry for the late reply. Today, I install svo and encounter the same error. I followed your suggestion, but the error is still on. Thank you. |
I have solved. add SET(Sophus_LIBRARIES libSophus.so) in the front of CMakeLists.txt. Thank you. |
home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::exp(Eigen::Matrix<double, 6, 1, 0, 6, 1> const&)' /home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::operator=(Sophus::SE3 const&)'/home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::SE3()' /home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::SE3(Sophus::SE3 const&)'/home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::operator*(Sophus::SE3 const&) const' /home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SO3::matrix() const'/home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::SE3(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)' /home/cc/tem_ws/devel/lib/libvikit_common.so: undefined reference to
Sophus::SE3::operator*(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&) const'collect2: error: ld returned 1 exit status
rpg_vikit/vikit_common/CMakeFiles/test_vk_common_triangulation.dir/build.make:178: recipe for target '/home/cc/tem_ws/devel/lib/vikit_common/test_vk_common_triangulation' failed
make[2]: *** [/home/cc/tem_ws/devel/lib/vikit_common/test_vk_common_triangulation] Error 1
CMakeFiles/Makefile2:1491: recipe for target 'rpg_vikit/vikit_common/CMakeFiles/test_vk_common_triangulation.dir/all' failed
make[1]: *** [rpg_vikit/vikit_common/CMakeFiles/test_vk_common_triangulation.dir/all] Error 2
[ 56%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/point.cpp.o
[ 57%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/map.cpp.o
[ 59%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/pose_optimizer.cpp.o
[ 60%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/initialization.cpp.o
[ 61%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/matcher.cpp.o
[ 63%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/reprojector.cpp.o
[ 64%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/feature_alignment.cpp.o
[ 65%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/feature_detection.cpp.o
[ 67%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/depth_filter.cpp.o
[ 68%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/config.cpp.o
[ 69%] Building CXX object rpg_svo/svo/CMakeFiles/svo.dir/src/sparse_img_align.cpp.o
[ 71%] Linking CXX shared library /home/cc/tem_ws/devel/lib/libsvo.so
[ 71%] Built target svo
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
The text was updated successfully, but these errors were encountered: