Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i can't install on ubuntu 10.04 x64

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

click to hide/show revision 2
No.2 Revision

updated 2014-04-08 09:46:00 -0600

berak gravatar image

i can't install on ubuntu 10.04 x64

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, 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, _Tp*, const _Tp*, size_t, int, int, _Rt, const uchar)’:
_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, _Tp*, const _Tp*, size_t, int, int, _Rt, const uchar)’:
_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, _Tp*, const _Tp*, size_t, int, int, _Rt, const uchar)’:
_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

2
click to hide/show revision 3
retagged

updated 2014-04-08 09:49:20 -0600

berak gravatar image

i can't install on ubuntu 10.04 x64

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

i can't install on ubuntu 10.04 x64x64. i install latest version.

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

i can't install on ubuntu 10.04 x64. i install latest version.

I try with http://answers.opencv.org/question/26250/opencv-linux-installation/ but

When I execute make:

/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