ilikecats567 / pyopencv

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

failed to compile StereoBM.pypp.cpp #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
running "python setup.py build" encounters the following problem:

pyopencv/pyopencvext/StereoBM.pypp.cpp:17: error: ‘NORMALIZED_RESPONSE’ is 
not a member of ‘cv::StereoBM’

commented out StereoBM.pypp.cpp line 17 then everything works.

I am using SUSE Linux 11.2, with the newest opencv from the svn repository.

Original issue reported on code.google.com by vaile...@gmail.com on 5 Mar 2010 at 3:27

GoogleCodeExporter commented 9 years ago
Thanks. I see. I guess since OpenCV 2.0, the Willow Garage people have renamed
cv::StereoBM::NORMALIZED_RESPONSE to 
cv::StereoBM::PREFILTER_NORMALIZED_RESPONSE.
PyOpenCV only supports OpenCV 2.0, and not the newest OpenCV from the 
repository. I
am one man. I cannot follow every change in their repository. I can only follow 
their
stable releases. However, I am surprised that PyOpenCV can compile after 
commenting
out line 17. I thought there would be more compilation errors than just that. 
Thank
you for letting me know. I will fix the issue once OpenCV 2.1 is out.

Cheers,
Minh-Tri

Original comment by pmtri80@gmail.com on 5 Mar 2010 at 3:57

GoogleCodeExporter commented 9 years ago
The issue has been fixed in PyOpenCV 2.1.0.wr1.0.0.

Cheers,
Minh-Tri

Original comment by pmtri80@gmail.com on 13 Apr 2010 at 5:49