First time here? Check out the FAQ!
answered 2013-08-01 00:59:28 -0600
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>