Error building opencv-3.0.0-beta on Jetson TK1
I'm getting the following error building opencv-3.0.0-beta on my Jetson TK1.
[ 32%] [ 33%] [ 33%] [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.cpp.o In file included from /home/ubuntu/opencv-3.0.0-beta/modules/core/src/opengl.cpp:48:0: /usr/local/cuda-6.5/include/cuda_gl_interop.h:64:2: error: #error Please include the appropriate gl headers before including cuda_gl_interop.h #error Please include the appropriate gl headers before including cuda_gl_interop.h ^ make[2]: * [modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: * [all] Error 2
I used the following for cmake . -DWITH_EXAMPLES=ON -DENABLE_NEON:BOOL=ON -DCUDA_ARCH_BIN=3.2
What am I doing wrong? Thanks in advance for any help!