Updated by Andrey Kamaev almost 13 years ago

I'm compiling OpenCV [[OpenCV]] Rev. 6946 on Ubuntu 11.04 64bit and the following error arises:

<pre>
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=true, tbCacheTextureCascade=true, tbDoAtomicCompaction=true]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=false, tbCacheTextureCascade=true, tbDoAtomicCompaction=true]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=true, tbCacheTextureCascade=false, tbDoAtomicCompaction=true]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=false, tbCacheTextureCascade=false, tbDoAtomicCompaction=true]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=true, tbCacheTextureCascade=true, tbDoAtomicCompaction=false]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=false, tbCacheTextureCascade=true, tbDoAtomicCompaction=false]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=true, tbCacheTextureCascade=false, tbDoAtomicCompaction=false]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(189): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/NCVHaarObjectDetection.cu(575): error: no instance of function template "subReduce" matches the argument list
argument types are: (Ncv32f)
detected during:
instantiation of "void applyHaarClassifierClassifierParallel<tbCacheTextureIImg,tbCacheTextureCascade,tbDoAtomicCompaction>(Ncv32u *, Ncv32u, Ncv32f *, Ncv32u, HaarFeature64 [[HaarFeature]]64 *, HaarClassifierNode128 [[HaarClassifierNode]]128 *, HaarStage64 [[HaarStage]]64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, [[NcvSize]]32u, Ncv32u, Ncv32u, Ncv32f) [with tbCacheTextureIImg=false, tbCacheTextureCascade=false, tbDoAtomicCompaction=false]"
(817): here
instantiation of "void applyHaarClassifierClassifierParallelFunctor::call(TList) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(214): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, 0, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>>, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>>, NumArguments=1, [[NumArguments]]=1, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, NumArguments=2, [[NumArguments]]=2, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(196): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
/home/alireza/svn_Archive/openCV_SVN/opencv/modules/gpu/src/nvidia/core/NCVRuntimeTemplates.hpp(170): here
instantiation of "void NCVRuntimeTemplateBool::KernelCaller<TList, NumArguments, [[NumArguments]], Func>::call(Func *, ...) [with TList=Loki::NullType, NumArguments=3, [[NumArguments]]=3, Func=applyHaarClassifierClassifierParallelFunctor]"
(847): here

8 errors detected in the compilation of "/tmp/tmpxft_000012bc_00000000-10_NCVHaarObjectDetection.compute_12.cpp1.ii".
CMake Error at CMakeFiles/cuda_compile_generated_NCVHaarObjectDetection.cu.o.cmake:256 (message):
Error generating file
/home/alireza/svn_Archive/build_ALL/opencv/modules/gpu/./cuda_compile_generated_NCVHaarObjectDetection.cu.o

maker2: *** [modules/gpu/./cuda_compile_generated_NCVHaarObjectDetection.cu.o] Error 1
maker1: *** [modules/gpu/CMakeFiles/opencv_gpu.dir/all] Error 2
make: *** [all] Error 2
</pre>

Back