Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #5876: Windows build fails with OpenCV 3.4.10 #5877

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

definability
Copy link

Update the required OpenCV version to 3.4.12.
The project uses CAP_PROP_ORIENTATION_AUTO contant that was introduced in OpenCV 3.4.12, thus is not accesible in OpenCV 3.4.10
opencv/opencv@f0271e5

Using of OpenCV 3.4.10 leads to a build error

mediapipe/calculators/video/opencv_video_decoder_calculator.cc(116): error C2039: 'CAP_PROP_ORIENTATION_AUTO': is not a member of 'cv'
external/windows_opencv/include\opencv2/videoio.hpp(71): note: see declaration of 'cv'
mediapipe/calculators/video/opencv_video_decoder_calculator.cc(116): error C2065: 'CAP_PROP_ORIENTATION_AUTO': undeclared identifier
Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu failed to build

Update the required OpenCV version to 3.4.12.
The project uses `CAP_PROP_ORIENTATION_AUTO` contant that was introduced in OpenCV 3.4.12,
thus is not accesible in OpenCV 3.4.10
opencv/opencv@f0271e5

Using of OpenCV 3.4.10 leads to a build error
```
mediapipe/calculators/video/opencv_video_decoder_calculator.cc(116): error C2039: 'CAP_PROP_ORIENTATION_AUTO': is not a member of 'cv'
external/windows_opencv/include\opencv2/videoio.hpp(71): note: see declaration of 'cv'
mediapipe/calculators/video/opencv_video_decoder_calculator.cc(116): error C2065: 'CAP_PROP_ORIENTATION_AUTO': undeclared identifier
Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu failed to build
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant