Error building Opencv 3.1 in imgwrap.cpp using VS2015

asked 2016-07-01 07:50:35 -0600

LBerger gravatar image

Hi,

I haven't got success to build opencv 3.1 using VS2015 afetr a git pull. I have got an error in imgwarp.cpp :

1>  imgwarp.cpp
1>C:\Lib\opencv\modules\imgproc\src\imgwarp.cpp(4629): error C2039: 'linearPolar_oclsrc' : is not a member of'cv::ocl::imgproc'
1>  C:\Lib\opencv\static\modules\imgproc\opencl_kernels_imgproc.hpp(13): note: see déclaration de 'cv::ocl::imgproc'
1>C:\Lib\opencv\modules\imgproc\src\imgwarp.cpp(4629): error C2065: 'linearPolar_oclsrc' : undeclared identifier
1>C:\Lib\opencv\modules\imgproc\src\imgwarp.cpp(4698): error C2039: 'logPolar_oclsrc' : is not a member of'cv::ocl::imgproc 'cv::ocl::imgproc'
1>  C:\Lib\opencv\static\modules\imgproc\opencl_kernels_imgproc.hpp(13): note: voir la déclaration de 'cv::ocl::imgproc'
1>C:\Lib\opencv\modules\imgproc\src\imgwarp.cpp(4698): error C2065: 'logPolar_oclsrc' : identificateur non déclaré

After two days I have deleted file modules\imgproc\opencl_kernels_imgproc.cpp. And no error How this file is generated in visual studio? Does it mean that when I uptdate opencv using git pull I must clean my solution to delete file like opencl_kernels_imgproc.cpp because dependency seems not working well?

Thanks for your answer

edit retag flag offensive close merge delete