Open Source Computer Vision Library
Go to file
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
.github migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
3rdparty let the test OCL_ImgprocWarp/Resize.Mat pass on ARM/Aarch64 2018-03-22 21:35:34 +09:00
apps Fix crash on exit in opencv_annotation 2018-03-14 09:40:45 -07:00
cmake Merge pull request #11081 from alalek:cmake_fix_android_examples_dependencies 2018-03-16 16:32:49 +00:00
data Some mist. typo fixes 2018-02-07 06:59:15 -05:00
doc Update rotated image 2018-03-22 22:09:19 +09:00
include add missing DNN header to opencv2/opencv.hpp 2018-02-15 15:59:14 +01:00
modules #include <math.h> in cv2.cpp 2018-03-25 20:39:29 +02:00
platforms Merge pull request #10923 from Preventis:patch-ios 2018-03-13 16:09:26 +03:00
samples Merge pull request #11091 from berak:openpose_sample 2018-03-18 09:18:40 +00:00
.gitattributes build: added VERSIONINFO resource 2017-06-20 15:45:21 +03:00
.gitignore git: .gitignore update 2017-11-07 17:24:48 +03:00
CMakeLists.txt Merge pull request #10876 from alalek:android_static_libs 2018-02-19 14:16:06 +00:00
CONTRIBUTING.md migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
LICENSE copyright: 2018 2018-01-16 13:55:42 +03:00
README.md Improve README (#9243) 2017-09-13 17:58:34 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.