Bazel版本必须为4.2.1以上,否则报错
The target you are compiling requires Visual C++ build tools.
Bazel couldn't find a valid Visual C++ build tools installation on your machine.
Visual C++ build tools seems to be installed at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC
But Bazel can't find the following tools:
VCVARSALL.BAT, cl.exe, link.exe, lib.exe, ml64.exe
详见官方教程
------------------------------------
2022年7月31日更新
记录一下问题:
windows11 + vs2019 + mediapipe0.8.7~0.8.10的holistic编译,handtracking等可以单独编译,但facemesh无法编译;想要编译holistic则最好回退至win10.