opencv/modules/python
Andrei Costinescu 38d73123c1
#include <math.h> in cv2.cpp
My build fails with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/cmath:1136:11: error: '::hypot' has not been declared".
I have tried to fix it by adding "#include <cmath>" before the line "#include <Python.h>" but then the build has failed with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/math.h:91:12:: error: 'std::_hypot' has not been declared".
Adding "#include <math.h>" allowed me to build opencv.
2018-03-25 20:39:29 +02:00
..
bindings opencv_version: dump OpenCL information via opencv_version 2018-01-27 17:08:28 +00:00
python2 Make external cv::dnn::Importer usage is deprecated 2017-09-18 08:52:36 +03:00
python3 Make external cv::dnn::Importer usage is deprecated 2017-09-18 08:52:36 +03:00
src2 #include <math.h> in cv2.cpp 2018-03-25 20:39:29 +02:00
test persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX (#10636) 2018-01-23 13:36:30 +03:00
CMakeLists.txt python: 'sub-module' for binding sources and documentation meta information 2017-12-09 21:01:46 +00:00
common.cmake cmake: use -isystem for Python/numpy include directories 2018-02-09 17:10:02 +03:00