Ask Your Question

Opencver's profile - activity

2013-09-19 22:56:49 -0600 commented answer OpenCV Error: Gpu Api Call <invalid device function>

and:

C:\Program Files\Microsoft Visual Studio 11.0\VC\include\xutility(364): error C2039: 'iterator_category' : is not a member of 'cv::MatIterator_<_Tp>' 14> with 14> [ 14> _Tp=double 14> ] 14> C:\Program Files\Microsoft Visual Studio 11.0\VC\include\xutility(649) : see reference to class template instantiation 'std::iterator_traits<_Iter>' being compiled 14> with 14> [ 14> _Iter=cv::MatIterator_<double> 14> ] 14> C:\Program Files\Microsoft Visual Studio 11.0\VC\include\algorithm(1201) : see reference to function template instantiation 'void std::_Debug_range<_InIt1>(_InIt,_InIt,std::_Dbfile_t,std::_Dbline_t)' being compiled 14> with 14> [ 14> _InIt1=cv::MatIte

2013-09-19 22:55:39 -0600 commented answer OpenCV Error: Gpu Api Call <invalid device function>

I have faced the same problem with the same card ( Visual Studio 2012 + Cuda 5.5 + Cmake 2.8 on Windows 7 32bit), Opencv 3.0. A lots of errors like below:

5>cuda_compile_generated_gpu_mat.cu.obj : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in algorithm.obj 5>cuda_compile_generated_gpu_mat.cu.obj : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MDd_DynamicDebug' in algorithm.obj 5>msvcprtd.lib(MSVCP110D.dll) : error LNK2005: "public: __thiscall std::locale::id::id(unsigned int)" (??0id@locale@std@@QAE@I@Z) already defined in cuda_compile_generated_gpu_mat.cu.obj 17>cuda_compile_generated_channels.cu.obj : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't