opencv-dev compile error (Bug #3855)


Added by Samuel Petrocelli over 10 years ago. Updated over 10 years ago.


Status:Done Start date:2014-08-11
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x64
Pull request:

Description

Using a fresh clone of opencv off github, I experience the following compile error:

/usr/local/src/opencv/modules/core/src/cuda/gpu_mat.cu:51:33: fatal error: opencv2/core/cuda.hpp: No such file or directory
#include "opencv2/core/cuda.hpp"
^
compilation terminated.
[ 30%] Built target pch_Generate_opencv_perf_superres
CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:206 (message):
Error generating
/usr/local/src/opencv/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o

make2: * [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o] Error 1
make1: *
[modules/core/CMakeFiles/opencv_core.dir/all] Error 2

Changed options using ccmake:
CUDA_ARCH_BINARY 3.0
WITH_GTK OFF
WITH_TBB ON
ENABLE_SSE ON
ENABLE_SSE2 ON
ENABLE_SSE3 OFF
ENABLE_SSE41 ON
ENABLE_SSE42 ON
ENABLE_SSSE3 ON

On another note, if I disable all cuda and opencl options in ccmake, I get an opencv_cudev link error.

-Sam


Associated revisions

Revision 83d6d70a
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3855 from polarfuchs99:2.4

History

Updated by Samuel Petrocelli over 10 years ago

recent commits to the build system have resolved this error.

  • Status changed from New to Done
  • % Done changed from 0 to 100

Also available in: Atom PDF