Skip to content
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

Build Error - OpenGL Support #14

Open
JohannesBetz opened this issue May 30, 2018 · 0 comments
Open

Build Error - OpenGL Support #14

JohannesBetz opened this issue May 30, 2018 · 0 comments

Comments

@JohannesBetz
Copy link

Hey everyone,

i got an Issue while building the OpenCV based on your description. This could be an issue with the new Jetpack 3.2 and Cuda 9.0 because some OpenGL support in Cuda is broke.

If someone has the same problem, try the following which helped me:

Edit the file: "/usr/local/cuda-8.0/include/cuda_gl_interop.h"

Find the code:
#else /* __APPLE__ */

It should be around line 7.. then replace all the If Def's with the following to force include of GL/gl.h

#else /* __APPLE__ */
 
 #include <GL/gl.h>
 
 #endif /* __APPLE__ */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant