-
Notifications
You must be signed in to change notification settings - Fork 248
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
Compilation error: Opencv undefined reference #19
Comments
Hi, I'm not sure I've personally tested 4dface on 16.04 yet, but I think this is a problem with your local build setup and/or OpenCV and not 4dface. I would suggest you check your CMake and linker settings and seek for help in OpenCV forums / Stackoverflow or a page like that. |
Thank you. I release that I have install both opencv2 and opencv3 on my machine. I guess this mess up the compilation. Is there a way to specify the location or the version of Opencv in CMake? I think I would be better if you could provide a variable to specify this. |
OpenCV/CMake already provide this, see initial_cache.cmake, and/or the documentation of FindOpenCV.cmake (in the cmake system folder). |
I'm going to close this, as it does not look like it's a 4dface issue. Feel free to re-open if it is. Thanks. |
I experienced the same problem with a locally compiled and installed OpenCV 3.2 on Ubuntu 16.04. I went to my opencv build directory and ran |
I follow the build&run process exactly on Ubuntu 16.04 and encounter the following error when execute the command in build folder:
Appreciate any help.
The text was updated successfully, but these errors were encountered: