-
Notifications
You must be signed in to change notification settings - Fork 43
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 #17
Comments
I also encountered this problem. Have you solved it? |
Perhaps try to change the version of opencv from 4 to 3 ? I encountered this problem several days ago, but solved it successfully by changing the version of opencv~ |
Thanks! I'm successfully |
but, I also,,, |
Which version of opencv 3 are you using? I tried with the latest opencv3 version but still got many build errors related to opencv functions when trying to catkin build dvs_tracking |
i used in opencv3.4.16 |
Hi. I have exactly the same problem and I've tried many approaches, but none of them successful. I started by changing the opencv version to 3.14, I added to the CmakeList the requirement to make sure all pieces of the repo were using the same opencv version. The problem @hebaoy had I solved it by using uniform initialization (aka {} instead of =). But I still have linking issues. To address this ld issues I added to the CMakeList specific paths to find the opencv libraries and where the target libraries should go, but I haven't been successful. |
Could you please clarify how to solved the problem by using uniform initialization (aka {} instead of =)? |
/home/xiaoheya/catkin_evo_ws/devel/lib/libdvs_mapping.so:undefined reference to‘cv::error(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, char const*, int)’
/home/xiaoheya/catkin_evo_ws/devel/lib/libdvs_mapping.so:undefined reference to‘cv::Mat::updateContinuityFlag()’
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: