-
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
Open GL compilation error #81
Comments
hello,I compiled chapter 3's codes in the environment of Linux. I used your method,but it didn't work.so,which system did you use? Windows?or Linux? And the author of this book said that we need install Opencv with opengl support. But,I failed.Help me!!! @YonatanSimson Thanks! |
You should compile OpenCV source codes with OpenGL support and then use it. That's it! You can use CMake for compiling OpenCV with OpenGL support on Windows platform. |
https://www.youtube.com/watch?v=caWl8nG6mLk I can help @Maggie0616GitHub if you need. |
Thank you very much!! I succeed! @ahmetozlu |
I ran into many GL header related errors using Visusal Studio 2019. The solution in my case was to simply: HTH |
In order to get the example from chapter 3 to compile one should replace
#include <gl/gl.h>
#include <gl/glu.h>
with:
#include <GL/gl.h>
#include <GL/glu.h>
The text was updated successfully, but these errors were encountered: