OpenCV SVN trunk Rev. 6946 compile error. (Bug #1464)


Added by Alireza Norouzzadeh over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Blocker Due date:
Assignee:Anton Obukhov % Done:

0%

Category:gpu (cuda)
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

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

/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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<1>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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 *, HaarClassifierNode128 *, HaarStage64 *, Ncv32u *, Ncv32u *, Ncv32u, Ncv32u, NcvSize32u, 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, 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, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::Typelist<Loki::Int2Type<0>, Loki::NullType>, 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, Func>::call(Func &, std::vector<int, std::allocator<int>> &) [with TList=Loki::NullType, 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, Func>::call(Func *, ...) [with TList=Loki::NullType, 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

Associated revisions

Revision 2cb91926
Added by Anton Obukhov over 13 years ago

[*] Fixed #1464
[~] NCVPyramid uses tr1 and thus can be compiled with CL, commented out on linux
[+] Moved reduction functors to NCVAlg
[*] Warnings in NCV

Revision 26a1a932
Added by Alexander Smorkalov over 11 years ago

Merge pull request #1464 from StevenPuttemans:bugfix_3186_second

Revision 8cb09212
Added by Alexander Smorkalov over 11 years ago

pr #1464 reverted as breaking the build for Linux without libv4l library.

History

Updated by Anton Obukhov over 13 years ago

Fixed in r6947

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Andrey Kamaev almost 13 years ago

  • Target version set to 2.4.0
  • Description changed from I'm compiling [[OpenCV]] Rev. 6946 on Ubuntu 11.04 64bit and the followin... to I'm compiling OpenCV Rev. 6946 on Ubuntu 11.04 64bit and the following er... More

Also available in: Atom PDF