title: error in installing opencv with CUDA - opencv_cudaarithm Error
body: <p>Is there somebody who knows how to solve this problem: having already done cmaking using ccmake.., in making step using make -j7 got this error:</p>
  
  <pre><code>Linking CXX shared library ../../lib/libopencv_cudaarithm.so
  [ 38%] Built target opencv_cudaarithm
  make: *** [all] Error 2
  </code></pre>
  
  <p>appreciate it if you could help me  out!
  I used the cmake below:</p>
  
  <pre><code>CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/&lt;user&gt;/opencv 
  -D PYTHON_EXECUTABLE=/home/&lt;user&gt;/anaconda/bin/python2.7 
  -D PYTHON_INCLUDE_DIR=/home/&lt;user&gt;/anaconda/include/python2.7 
  -D PYTHON_INCLUDE_DIRS=/home/&lt;user&gt;/anaconda/include/python2.7 
  -D PYTHON_INCLUDE_DIR2=/home/&lt;user&gt;/anaconda/include/python2.7 
  -D PYTHON_LIBRARIES=/home/&lt;user&gt;/anaconda/lib/libpython2.7.so 
  -D PYTHON_LIBRARY=/home/&lt;user&gt;/anaconda/lib/libpython2.7.so 
  -D PYTHON_PACKAGES_PATH=/home/&lt;user&gt;/anaconda/lib/python2.7/site-packages -D BUILD_EXAMPLES=ON -D BUILD_NEW_PYTHON_SUPPORT=ON 
  -D PYTHON2_LIBRARY=/home/&lt;user&gt;/anaconda/lib/libpython2.7.so 
  -D PYTHON_NUMPY_INCLUDE_DIRS=/home/&lt;user&gt;/anaconda/lib/python2.7/site-packages/numpy/core/include/numpy -D BUILD_opencv_python3=OFF 
  -D BUILD_opencv_python2=ON -D INSTALL_C_EXAMPLES=ON 
  -D INSTALL_PYTHON_EXAMPLES=ON -D WITH_TBB=ON -D WITH_V4L=ON 
  -D WITH_OPENGL=ON -D WITH_CUBLAS=ON -D WITH_GTK=ON 
  -D MATLAB_INCLUDE_DIRS=/home/&lt;user&gt;/MATLAB/extern/include 
  -D MATLAB_LIBRARY_DIRS=/home/&lt;user&gt;/MATLAB/bin 
  -D MATLAB_MEX_SCRIPT=/home/&lt;user&gt;/MATLAB/bin 
  -D MATLAB_ROOT_DIR=/home/&lt;user&gt;/MATLAB ..
  </code></pre>