-
Notifications
You must be signed in to change notification settings - Fork 114
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
Shipped DBoW2 package compilation error #51
Comments
There was just a modification to the DBoW2 files related to BRIEF, maybe this adds some missing include: #50 If that does not fix it, have you tried updating the shipped version of DBoW2 to the latest official version? It seems like some inconsistency arose from the DLib/DBoW2/OpenCV versions that are present here. |
Just wanted to add that I get the same issue. I've copied the new DBoW files across, but kept the included CMakeLists and I can progress in compiling. Still getting other compilation issues however I'll likely make separate tickets for those. |
Using the DLib commit b6c28fb will solve the DBoW2 compilation problem. However, another compilation error that may relate to the flann arise as follows: Is there any possible solution? Many thanks! |
It appears as if some dependency on your system requires OpenMP, but it is not linked in. I would try to link OpenMP explicitly ( |
Hi, @puzzlepaint |
Hi,
Thanks for your great work!
I'm trying to compile badslam, however some errors that may relate to the shipped DBoW2 package, appear as follows:
/home/qin/Documents/codes/3rdparty/bin_3rdparty/DLib/include/DLib/../DVision/BRIEF256.h: In member function ‘void DVision::BRIEF_t<Bits>::compute(const cv::Mat&, const std::vector<cv::KeyPoint>&, std::vector<std::bitset<Bits> >&, bool) const’: /home/qin/Documents/codes/3rdparty/bin_3rdparty/DLib/include/DLib/../DVision/BRIEF256.h:207:11: error: ‘cvtColor’ is not a member of ‘cv’ cv::cvtColor(image, aux, cv::COLOR_RGB2GRAY);
Note:
$ apt list -a libopencv-dev Listing... Done libopencv-dev/bionic-updates,bionic-security,now 3.2.0+dfsg-4ubuntu0.1 amd64 [installed,automatic] libopencv-dev/bionic 3.2.0+dfsg-4build2 amd64
Another way to reproduce the error:
The same errors will occur.
Is there any solution to solve this compilation problem? Many thanks!
Best regards,
Qin Shi
The text was updated successfully, but these errors were encountered: