Skip to content

When compiling under Windows, the following error occurs #5975

Description

@dannisliang

OS Platform and Distribution

windows 10

Compiler version

bazel-7.6.1,vc2022

Programming Language and version

c++

Installed using virtualenv? pip? Conda?(if python)

python-3.12.10

MediaPipe version

MediaPipe v0.10.24

Bazel version

No response

XCode and Tulsi versions (if iOS)

No response

Android SDK and NDK versions (if android)

No response

Android AAR (if android)

None

OpenCV version (if running on desktop)

OpenCV 3.4.10

Describe the problem

When compiling under Windows, the following error occurs, likely due to using OpenCV 3.4.10 for compilation

Complete Logs

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions