I ran into the same problem. Considering /home/Ralph/opencv/modules/legacy/include/opencv2/legacy/legacy.hpp , the structure definition:
typedef struct CvStereoCamera { CvCamera* camera[2]; float fundMatr[9]; CvPoint3D32f epipole[2]; CvPoint2D32f quad[2][4]; double coeffs[2][3][3]; CvPoint2D32f border[2][4]; CvSize warpSize; CvStereoLineCoeff* lineCoeffs; int needSwapCameras; float rotMatrix[9]; float transVector[3]; } CvStereoCamera;
I am completely puzzled by why it doesn't seem to work: quad is defined right there.
calibfilter.cpp commented on all the lines in calibfilter.cpp and epilines.cpp that refer to the quad attribute, I managed to get at least an OpenCV compilation, but this, without a doubt, broke the stereo sound support.
source share