Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It seems like min/max is defined as macros. As I remember windows.h defines such macros. Add this lines before gpu.hpp:

#undef min
#undef max
#include <opencv2/gpu/gpu.hpp>