'min (& max) not a member of std' errors when building OpenCV 2.4.6 on Windows 8 for Visual Studio 2012

后端 未结 3 760
眼角桃花
眼角桃花 2020-12-10 01:23

I\'m trying to build OpenCV 2.4.6 on Windows 8 in Visual Studio 2012. Having downloaded the source from https://github.com/Itseez/opencv I generate (leaving the default conf

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-10 02:13

    #include  
    #include 
    

    Just include above 2 lines to the cpp file and the compilation error will disappear.

提交回复
热议问题