Hi Julien,

this is bug IMO…

By default optional third party components seem to be compiled in opencv. Some 
of them are deactivate in OTB Superbuild but obviously we’re missing some of 
them.

I’ve filled a bug (with complementary information) related to this specific 
point:

https://bugs.orfeo-toolbox.org/view.php?id=1084

Thanks.

Manuel

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de Julien Radoux
Envoyé : mardi 13 octobre 2015 11:27
À : otb-users
Objet : [otb-users] Compilation error with CUDA

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 
otb-users@googlegroups.com<mailto:otb-users@googlegroups.com>
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com<mailto:otb-users+unsubscr...@googlegroups.com>
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 
otb-users+unsubscr...@googlegroups.com<mailto:otb-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to