The function is being found in one of the header files you are including, but it is not being found during linking. You need to link to the appropriate openCV library…cvaux maybe?
error: too few arguments to function
This just means that the function was found, but you are not calling it properly.
[quote author=“grimus”]The function is being found in one of the header files you are including, but it is not being found during linking. You need to link to the appropriate openCV library…cvaux maybe?
error: too few arguments to function
This just means that the function was found, but you are not calling it properly.[/quote]
Yes i did it on purpose, to see if it gave the same error, and yes it is a linkage problem because i tried other cvaux functions with the same error, cv.h functions work just fine. What i dont understand is that im using cvaux the same way i use cv.