make opencv width quadro k2200 , with error

Bug #1632545 reported by hwm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opencv (Ubuntu)
New
Undecided
Unassigned

Bug Description

I compile opencv 2.4.13 ,
gpu is quadro k2200,
cmake command is "cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_TIFF=ON -D CMAKE_INSTALL_PREFIX=/usr/local/opencv CUDA_ARCH_BIN="5.0" ../"
then comes the error,I don't know why,any idea?thanks.

Linking CXX executable ../../bin/opencv_perf_gpu
Linking CXX executable ../../bin/opencv_test_gpu
[ 86%] Built target opencv_nonfree
[ 86%] Generating opencl_kernels.cpp, opencl_kernels.hpp
[ 86%] ../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_setImageFeatures(cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_Pos_findPosInHist_gpu(cv::gpu::PtrStepSz<int>, float4*, int3*, int, float, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_findPosInHist_gpu(cv::gpu::PtrStepSz<int>, float4*, int3*, int, int, float, int, float, int, float, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosRotation_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStep<int>, int, int, float, float, int, float, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<short>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::buildRTable_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int*, short2, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcPHist_gpu(int const*, int const*, cv::gpu::PtrStepSz<int>, float, float, float, float, int, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_buildImageFeatureList_gpu(unsigned int const*, float const*, int, int*, int, float, float, int, float2, float)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_Pos_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStepSz<int>, float, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_setTemplFeatures(cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<float>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcSHist_gpu(int const*, int const*, int*, float, float, float, float, float, int, int, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcOHist_gpu(int const*, int const*, int*, float, float, float, int, int, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_buildTemplFeatureList_gpu(unsigned int const*, float const*, int, int*, int, float, float, int, float2, float)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosScale_findPosInHist_gpu(cv::gpu:Building NVCC (Device) object modules/superres/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_btv_l1_gpu.cu.o
:PtrStep<int>, int, int, int, float4*, int3*, int, float, float, float, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosScale_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStep<int>, int, int, float, float, int, float, int)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<int>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosRotation_findPosInHist_gpu(cv::gpu::PtrStep<int>, int, int, int, float4*, int3*, int, float, float, float, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/gpu_perf4au] Error 1
make[1]: *** [modules/gpu/perf4au/CMakeFiles/gpu_perf4au.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_setImageFeatures(cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_Pos_findPosInHist_gpu(cv::gpu::PtrStepSz<int>, float4*, int3*, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_findPosInHist_gpu(cv::gpu::PtrStepSz<int>, float4*, int3*, int, int, float, int, float, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosRotation_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStep<int>, int, int, float, float, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<short>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::buildRTable_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int*, short2, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcPHist_gpu(int const*, int const*, cv::gpu::PtrStepSz<int>, float, float, float, float, int, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_buildImageFeatureList_gpu(unsigned int const*, float const*, int, int*, int, float, float, int, float2, float)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_Pos_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStepSz<int>, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_setTemplFeatures(cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<float>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcSHist_gpu(int const*, int const*, int*, float, float, float, float, float, int, int, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcOHist_gpu(int const*, int const*, int*, float, float, float, int, int, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_buildTemplFeatureList_gpu(unsigned int const*, float const*, int, int*, int, float, float, int, float2, float)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosScale_findPosInHist_gpu(cv::gpu::PtrStep<int>, int, int, int, float4*, int3*, int, float, float, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosScale_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStep<int>, int, int, float, float, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<int>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosRotation_findPosInHist_gpu(cv::gpu::PtrStep<int>, int, int, int, float4*, int3*, int, float, float, float, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_gpu] Error 1
make[1]: *** [modules/gpu/CMakeFiles/opencv_perf_gpu.dir/all] Error 2
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_Pos_findPosInHist_gpu(cv::gpu::PtrStepSz<int>, float4*, int3*, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::buildRTable_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int*, short2, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcPHist_gpu(int const*, int const*, cv::gpu::PtrStepSz<int>, float, float, float, float, int, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosRotation_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStep<int>, int, int, float, float, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_buildImageFeatureList_gpu(unsigned int const*, float const*, int, int*, int, float, float, int, float2, float)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<float>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcSHist_gpu(int const*, int const*, int*, float, float, float, float, float, int, int, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosScale_findPosInHist_gpu(cv::gpu::PtrStep<int>, int, int, int, float4*, int3*, int, float, float, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<int>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosRotation_findPosInHist_gpu(cv::gpu::PtrStep<int>, int, int, int, float4*, int3*, int, float, float, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_setImageFeatures(cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `int cv::gpu::device::hough::buildEdgePointList_gpu<short>(cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, cv::gpu::PtrStepSz<unsigned char>, unsigned int*, float*)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_findPosInHist_gpu(cv::gpu::PtrStepSz<int>, float4*, int3*, int, int, float, int, float, int, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_Pos_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStepSz<int>, float, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_setTemplFeatures(cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>, cv::gpu::PtrStep<unsigned char>)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_calcOHist_gpu(int const*, int const*, int*, float, float, float, int, int, int)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Guil_Full_buildTemplFeatureList_gpu(unsigned int const*, float const*, int, int*, int, float, float, int, float2, float)'
../../lib/libopencv_gpu.so.2.4.13: undefined reference to `cv::gpu::device::hough::GHT_Ballard_PosScale_calcHist_gpu(unsigned int const*, float const*, int, cv::gpu::PtrStepSz<short2>, int const*, cv::gpu::PtrStep<int>, int, int, float, float, int, float, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_test_gpu] Error 1
make[1]: *** [modules/gpu/CMakeFiles/opencv_test_gpu.dir/all] Error 2

Tags: gpu opencv
hwm (han867241432)
tags: added: gpu opencv
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.