ewiger / pyopencv

Automatically exported from code.google.com/p/pyopencv
0 stars 0 forks source link

cv::Mat::Mat() errors #54

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just compiled and installed opencv2.4.5

pip install pyopencv is giving me this error though:

    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
    In file included from package/extras/core/opencv_headers.hpp:9:0,
                     from package/extras/core/opencv_extra.hpp:15,
                     from package/extras/core/opencv_extra.cpp:12:
    /tmp/pip-build-root/pyopencv/package/extras/sdopencv/sdcxmat.hpp:58:8: error: redefinition of ‘cv::Mat::Mat()’
    /opt/local/include/opencv2/core/mat.hpp:67:8: error: ‘cv::Mat::Mat()’ previously defined here
    /tmp/pip-build-root/pyopencv/package/extras/sdopencv/sdcxmat.hpp:61:8: error: redefinition of ‘cv::Mat::Mat(int, int, int)’
    /opt/local/include/opencv2/core/mat.hpp:72:8: error: ‘cv::Mat::Mat(int, int, int)’ previously defined here

Original issue reported on code.google.com by makobu.mwambiriro@gmail.com on 13 Jun 2013 at 7:37