Skip Menu |

This queue is for tickets about the Image-ObjectDetect CPAN distribution.

Report information
The Basics
Id: 81730
Status: new
Priority: 0/
Queue: Image-ObjectDetect

People
Owner: Nobody in particular
Requestors: skeldoy [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: I love your work but I cannot get it working - please help me kind sir
Date: Wed, 5 Dec 2012 23:53:43 +0100
To: bug-Image-ObjectDetect [...] rt.cpan.org
From: Sverre Eldoey <skeldoy [...] gmail.com>
perl Makefile.PL went fine.. but trying to build it with make I get: *ObjectDetect.xs:57:62: error: too few arguments to function call, expected 8, have 7* * 1.1, 2, CV_HAAR_DO_CANNY_PRUNING, cvSize(0,0)); // (0,0)* * ^* */usr/include/opencv2/objdetect/objdetect.hpp:139:7: note: 'cvHaarDetectObjects' declared here* *CVAPI(CvSeq*) cvHaarDetectObjects( const CvArr* image,* * ^* */usr/include/opencv2/core/types_c.h:154:49: note: expanded from macro 'CVAPI'* *# define CVAPI(rettype) CV_EXTERN_C CV_EXPORTS rettype CV_CDECL* * ^* *ObjectDetect.xs:63:13: warning: expression result unused [-Wunused-value]* * hv_store(hash, "x", 1, newSViv(rect->x), 0);* * ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'* * ((SV**) hv_common_key_len((hv), (key), (klen), \* * ^* *ObjectDetect.xs:64:13: warning: expression result unused [-Wunused-value]* * hv_store(hash, "y", 1, newSViv(rect->y), 0);* * ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'* * ((SV**) hv_common_key_len((hv), (key), (klen), \* * ^* *ObjectDetect.xs:65:13: warning: expression result unused [-Wunused-value]* * hv_store(hash, "width", 5, newSViv(rect->width), 0);* * ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'* * ((SV**) hv_common_key_len((hv), (key), (klen), \* * ^* *ObjectDetect.xs:66:13: warning: expression result unused [-Wunused-value]* * hv_store(hash, "height", 6, newSViv(rect->height), 0);* * ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* */System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'* * ((SV**) hv_common_key_len((hv), (key), (klen), \* * ^* *4 warnings and 1 error generated.* *make: *** [ObjectDetect.o] Error 1*