I am trying to compile OTB on ubuntu with OpenCV ON (OTB 5, superbuild). It 
works when I disable OpenCV, but I have a CUDA error when I enable it. 

[ 76%] Performing build step for 'OPENCV'
[ 59%] Built target IlmImf
[ 60%] Built target opencv_core_pch_dephelp
[ 62%] Built target pch_Generate_opencv_core
[ 63%] Building NVCC (Device) object 
modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o
nvcc fatal   : Unsupported gpu architecture 'compute_11'
CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:206 
(message):
  Error generating
  
/home/OASIS/julien/ubuntu/OTBbin/OPENCV/build/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o


make[5]: *** 
[modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o]
 
Error 1
make[4]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [OPENCV/src/OPENCV-stamp/OPENCV-build] Error 2
make[1]: *** [CMakeFiles/OPENCV.dir/all] Error 2


Any idea where this could come from ?

Thank you 

Julien


-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to