Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

'=' : cannot convert from 'void *' to 'CvPoint *' 1> Conversion from 'void*' to pointer to non-'void' requires an explicit cast

m trying to execute the code which is in https://github.com/bengal/opencv-hand-detection but getting the error above.. m new to this.. please help me out..

Any help would be greatly appreciated. Thanks in advance

click to hide/show revision 2
I have specified the line numbers and errors..

'=' : cannot convert from 'void *' to 'CvPoint *' 1> Conversion from 'void*' to pointer to non-'void' requires an explicit cast

m trying to execute the code which is in https://github.com/bengal/opencv-hand-detection but getting the error above.. m new to this.. please help me out..

line:87, error:'=' : cannot convert from 'void ' to 'CvPoint *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

line:88, error:'=' : cannot convert from 'void ' to 'CvPoint *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

line:167, error:'=' : cannot convert from 'void ' to 'CvConvexityDefect *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

line:194, error:'sqrt' : ambiguous call to overloaded function c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(589): could be 'long double sqrt(long double)' c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(541): or 'float sqrt(float)' c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(127): or 'double sqrt(double)' while trying to match the argument list '(int)'

line:218, error:'=' : cannot convert from 'void ' to 'CvPoint *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

Any help would be greatly appreciated. Thanks in advance