Build Error - OpenGL Support
JohannesBetz opened this issue · 0 comments
JohannesBetz commented
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__ */