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

catkin build #19

Open
ZLIANG-code opened this issue Jul 7, 2022 · 2 comments
Open

catkin build #19

ZLIANG-code opened this issue Jul 7, 2022 · 2 comments

Comments

@ZLIANG-code
Copy link

I have some trouble in catkin build ,I can not sure that it can be successful in ubuntu 18.04?
Maybe I should use ubuntu 14.04 ?

@ZLIANG-code
Copy link
Author

Errors << dlib_catkin:make /home/user/zhaoliang/my_ws/logs/dlib_catkin/build.make.001.log
/home/user/zhaoliang/my_ws/build/dlib_catkin/dlib_src-prefix/src/dlib_src/src/DVision/FSolver.cpp: In member function ‘cv::Mat DVision::FSolver::findFundamentalMat(const cv::Mat&, const cv::Mat&, double, int, std::vector, bool, double, int) const’:
/home/user/zhaoliang/my_ws/build/dlib_catkin/dlib_src-prefix/src/dlib_src/src/DVision/FSolver.cpp:149:39: error: ‘REDUCE_SUM’ is not a member of ‘cv’
cv::reduce(sq_ab, norms, 0, cv::REDUCE_SUM); // 0 = single row
^~~~~~~~~~
/home/user/zhaoliang/my_ws/build/dlib_catkin/dlib_src-prefix/src/dlib_src/src/DVision/FSolver.cpp:160:36: error: ‘REDUCE_SUM’ is not a member of ‘cv’
cv::reduce(prod, dot, 0, cv::REDUCE_SUM); // dot is Nx1
^~~~~~~~~~
/home/user/zhaoliang/my_ws/build/dlib_catkin/dlib_src-prefix/src/dlib_src/src/DVision/HSolver.cpp: In member function ‘cv::Mat DVision::HSolver::findHomography(const cv::Mat&, const cv::Mat&, double, int, std::vector
, bool, double, int) const’:
/home/user/zhaoliang/my_ws/build/dlib_catkin/dlib_src-prefix/src/dlib_src/src/DVision/HSolver.cpp:144:39: error: ‘REDUCE_SUM’ is not a member of ‘cv’
cv::reduce(sq_ab, error, 0, cv::REDUCE_SUM); // 0 = single row
^~~~~~~~~~
make[5]: *** [CMakeFiles/DLib.dir/src/DVision/FSolver.cpp.o] Error 1
make[5]: *** 正在等待未完成的任务....
make[5]: *** [CMakeFiles/DLib.dir/src/DVision/HSolver.cpp.o] Error 1
make[4]: *** [CMakeFiles/DLib.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [dlib_src-prefix/src/dlib_src-stamp/dlib_src-build] Error 2
make[1]: *** [CMakeFiles/dlib_src.dir/all] Error 2
make: *** [all] Error 2
cd /home/user/zhaoliang/my_ws/build/dlib_catkin; catkin build --get-env dlib_catkin | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << dlib_catkin:make [ Exited with code 2 ]
Failed <<< dlib_catkin [ 4.9 seconds ]
Abandoned <<< ceres_catkin [ Unrelated job failed ]
Abandoned <<< eigen_checks [ Unrelated job failed ]
Abandoned <<< minkindr [ Unrelated job failed ]
Abandoned <<< minkindr_conversions [ Unrelated job failed ]
Abandoned <<< minkindr_python [ Unrelated job failed ]
Abandoned <<< dbow2 [ Unrelated job failed ]
Abandoned <<< rpg_common [ Unrelated job failed ]
Abandoned <<< orb_slam_2 [ Unrelated job failed ]
Abandoned <<< rpg_common_ros [ Unrelated job failed ]
Abandoned <<< dslam [ Unrelated job failed ]

@minje-KIM
Copy link

Hello, I also want to run this code in ubuntu 18.04 with ROS Melodic.
Did you solve the problem you mentioned?

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

2 participants