Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problems using the math.h class with OpenCV (c++, VS2012)

Hello,

I'm trying to get my software to work with OpenCV, but am having compile issues. My code uses the math.h "min" function, which takes two numerical input parameters. When I include "core.hpp", however, it starts trying to use the xutility "min" function instead (which also seems to be in the "std" namespace?), which takes 3 parameters and seems to be for some other use. I cannot seem to get VS to use the math.h min function instead of the xutility one. Any suggestions?

Thank you!