I try with http://answers.opencv.org/question/26250/opencv-linux-installation/
but
/home/psl/opencv/opencv/modules/core/src/stat.cpp: In function ‘void cv::getMinMaxRes(const cv::Mat&, const cv::Mat&, const cv::Mat&, const cv::Mat&, double, double, int, int, int, int, int)’:
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1215: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1215: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1215: error: ‘::max’ has not been declared
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: ‘::min’ has not been declared
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: ‘::max’ has not been declared
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:1216: error: ‘::min’ has not been declared
/home/psl/opencv/opencv/modules/core/src/stat.cpp: In function ‘void cv::batchDistL1_(const _Tp, const _Tp, size_t, int, int, _Rt, const uchar)’:
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2748: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2748: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2748: error: ‘::max’ has not been declared
/home/psl/opencv/opencv/modules/core/src/stat.cpp: In function ‘void cv::batchDistL2Sqr_(const _Tp, const _Tp, size_t, int, int, _Rt, const uchar)’:
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2766: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2766: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2766: error: ‘::max’ has not been declared
/home/psl/opencv/opencv/modules/core/src/stat.cpp: In function ‘void cv::batchDistL2_(const _Tp, const _Tp, size_t, int, int, _Rt, const uchar)’:
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2784: error: ‘numeric_limits’ is not a member of ‘std’
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2784: error: expected primary-expression before ‘>’ token
/home/psl/opencv/opencv/modules/core/src/stat.cpp:2784: error: ‘::max’ has not been declared
make[2]: * [modules/core/CMakeFiles/opencv_core.dir/src/stat.cpp.o] 错误 1
make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] 错误 2
make: ** [all] 错误 2