-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Chapter 4 compile problem ‘BruteForceMatcher_GPU’ was not declared in this scope #76
Comments
@won13y I'm currently re-writing this chapter, getting ready for a 2nd edition of the book that's schedule to publish before the end of the year. This code will be replaced with a far more robust version. |
@royshil Thank you for the reply I already bought your book which have excellent contents about Sfm, and I really need to run the opencv example of Chapter 4 for my projects If possible, |
@won13y I have the same problem, have you solved it? |
@thbupt No, I cannot solve the problem yet! Would anyone of you please let me know how to fix it? |
@won13y I just solved this problem. Just include opencv2/nonfree/gpu.hpp in the GPUSURFFeatureMatcher.hpp. You can have a try. |
For the sake of clarity, @thbupt 's solution requires adding opencv2/nonfree/gpu.hpp, in addition to opencv2/gpu/gpu.hpp. |
I am trying to compile chapter 4,
but following error occurs!
Would you please let me know how to fix it?
wkyoun@wkyoun-XPS-13-9343:~/code/Chapter4_StructureFromMotion/build$ make
The text was updated successfully, but these errors were encountered: