-
Notifications
You must be signed in to change notification settings - Fork 200
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
make build.sh error #3
Comments
This problem was solved when the OpenCv2 was installed. |
Ok great! I close the issue. |
@BertaBescos I also met this error, but all my code depend on opencv3. I tried use this code with opencv2.4, the error is still on. Please help me, thank you. |
error information: |
Have you checked if it is finding the correct version of OpenCV? These lines in the CMake should tell you what version of OpenCV it is finding: |
I checked, find opencv 3.0. cmake .. sucessfully. However, make with this error |
So the problem is that it is not finding OpenCV 2.4. It is only finding OpenCV 3.0, which is not yet supported. |
Thank you for your response. May you make your code support opencv3? OpenCV3 is used often, now. |
Yes, we plan to support OpenCV 3.0 but I am not sure how long it can take us. Many functions changed from OpenCV 2.4 to OpenCV 3.0 in the MatAllocator class. It is in the communication with python where there are a few issues in using OpenCV 3.0 for the moment. |
@BertaBescos I found a way to solve this problem. In OpenCV 3.X, MatAllocator class has three pure virtual functions and they are const member functions, but in the file src/Conversion.cc, the functions missed the word const. |
Thanks! we will add OpenCV 3.X support asap. |
@undefinedzero how did you solve it? Could you explain a bit? |
Thanks for your work! I try to run the build.sh ,but I meet a problems,could you help me?
error: cannot declare variable ‘DynaSLAM::g_numpyAllocator’ to be of abstract type ‘DynaSLAM::NumpyAllocator’ NumpyAllocator g_numpyAllocator;
The text was updated successfully, but these errors were encountered: