Hi Manuel, Thank you for your help. deactivating CUDA and OpenCL solved my problem. I hope that opencv will solve their CUDA issue so that I can use my graphic card, but for now I am quite happy that it compiled !
Best regards, Julien On Tuesday, October 13, 2015 at 11:27:09 AM UTC+2, Julien Radoux wrote: > > 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 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.