Use of designated initializers fails Windows build #5874
Labels
legacy:hands
Hand tracking/gestures/etc
os:windows
MediaPipe issues on Windows
platform:c++
Issues specific to C++ framework in mediapipe
type:build/install
For Build and Installation issues
OS Platform and Distribution
Windows 11
Compiler version
MSVC 19.29.30158 for x64
Programming Language and version
C++17
Installed using virtualenv? pip? Conda?(if python)
No
MediaPipe version
master (ffe429d)
Bazel version
6.5.0
XCode and Tulsi versions (if iOS)
N/A
Android SDK and NDK versions (if android)
N/A
Android AAR (if android)
None
OpenCV version (if running on desktop)
3.4.12
Describe the problem
Build of
hand_tracking_cpu
example failsThe problem was introduced in
mediapipe/mediapipe/framework/output_stream_handler.cc
Lines 145 to 149 in ffe429d
Designated initializers are a feature of C++20: https://en.cppreference.com/w/cpp/language/aggregate_initialization.
I see two ways to fix this problem, but I am unsure about the MediaPipe team's plans.
Complete Logs
All you need to know:
The text was updated successfully, but these errors were encountered: