Answer the question
In order to leave comments, you need to log in
Issue when building OpenCV on Linux Ubuntu 16.04?
Hello! After reinstalling the system, I had to install OpenCV again. Again I do everything according to the guide , but there is a problem:
on the step
4. Compiling and installing OpenCV
make -j4
Error when building with command[ 22%] Built target pch_Generate_opencv_stitching
Scanning dependencies of target pch_Generate_opencv_videostab
[ 22%] Generating precomp.hpp
[ 22%] Generating precomp.hpp.gch/opencv_videostab_Release.gch
[ 22%] Built target pch_Generate_opencv_test_superres
Scanning dependencies of target pch_Generate_opencv_test_videostab
[ 22%] Generating test_precomp.hpp
[ 22%] Generating test_precomp.hpp.gch/opencv_test_videostab_Release.gch
[ 22%] Built target pch_Generate_opencv_perf_superres
[ 22%] Processing OpenCL kernels (core)
[ 22%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_60'
CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:206 (message):
Error generating
/home/mr-blaze/Документы/builds/opencv-3.4.1/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o
modules/core/CMakeFiles/opencv_core.dir/build.make:63: ошибка выполнения рецепта для цели «modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o»
make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o] Ошибка 1
CMakeFiles/Makefile2:1734: ошибка выполнения рецепта для цели «modules/core/CMakeFiles/opencv_core.dir/all»
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Ошибка 2
make[1]: *** Ожидание завершения заданий…
[ 22%] Built target pch_Generate_opencv_superres
[ 22%] Built target pch_Generate_opencv_videostab
[ 22%] Built target pch_Generate_opencv_test_videostab
Makefile:160: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question