homuler / MediaPipeUnityPlugin

Unity plugin to run MediaPipe
MIT License
1.82k stars 465 forks source link

Build issue #1274

Open SYl110607 opened 19 hours ago

SYl110607 commented 19 hours ago

Plugin Version or Commit ID

v0.15.0

Unity Version

2022.3.27f1

Your Host OS

Windows11

Target Platform

UnityEditor, Windows Standalone

[Windows Only] Visual Studio C++ and Windows SDK Version

Visual Studio C++ : 14.29.30133; Windows SDK : 10.0.19041.0

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

No response

Command Sequences

python build.py build --desktop cpu --opencv=cmake -vv

Log

ERROR: C:/_bzl/dky5y5a3/external/org_tensorflow/tensorflow/lite/kernels/BUILD:870:11: Compiling tensorflow/lite/kernels/stablehlo_reduce_window.cc failed: (Exit 2): cl.exe failed: error executing command (from target @org_tensorflow//tensorflow/lite/kernels:builtin_op_kernels) cd /d C:/_bzl/dky5y5a3/execroot/mediapipe_api SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\;;C:\WINDOWS\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\Linux\bin\ConnectionManagerExe SET PROCESSOR_ARCHITECTURE=AMD64 SET PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 186 Stepping 2, GenuineIntel SET PROCESSOR_LEVEL=6 SET PROCESSOR_REVISION=ba02 SET PWD=/proc/self/cwd SET PYTHON_BIN_PATH=C://Users//24432//AppData//Local//Programs//Python//Python312//python.exe SET ProgramData=C:\ProgramData SET RUNFILES_MANIFEST_ONLY=1 SET TEMP=C:\Users\24432\AppData\Local\Temp SET TMP=C:\Users\24432\AppData\Local\Temp C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/org_tensorflow /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow /Iexternal/ruy /Ibazel-out/x64_windows-opt/bin/external/ruy /Iexternal/cpuinfo /Ibazel-out/x64_windows-opt/bin/external/cpuinfo /Iexternal/gemmlowp /Ibazel-out/x64_windows-opt/bin/external/gemmlowp /Iexternal/pthreadpool /Ibazel-out/x64_windows-opt/bin/external/pthreadpool /Iexternal/FXdiv /Ibazel-out/x64_windows-opt/bin/external/FXdiv /Iexternal/arm_neon_2_x86_sse /Ibazel-out/x64_windows-opt/bin/external/arm_neon_2_x86_sse /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers /Iexternal/fft2d /Ibazel-out/x64_windows-opt/bin/external/fft2d /Iexternal/local_tsl /Ibazel-out/x64_windows-opt/bin/external/local_tsl /Iexternal/local_xla /Ibazel-out/x64_windows-opt/bin/external/local_xla /Iexternal/XNNPACK /Ibazel-out/x64_windows-opt/bin/external/XNNPACK /Iexternal/FP16 /Ibazel-out/x64_windows-opt/bin/external/FP16 /Iexternal/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/cpuinfo/_virtual_includes/cpuinfo /Ibazel-out/x64_windows-opt/bin/external/pthreadpool/_virtual_includes/pthreadpool /Ibazel-out/x64_windows-opt/bin/external/FXdiv/_virtual_includes/FXdiv /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/src/_virtual_includes/code_generators /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/src/_virtual_includes/generate_fbs /Ibazel-out/x64_windows-opt/bin/external/FP16/_virtual_includes/FP16 /Iexternal/cpuinfo/include /Ibazel-out/x64_windows-opt/bin/external/cpuinfo/include /Iexternal/cpuinfo/src /Ibazel-out/x64_windows-opt/bin/external/cpuinfo/src /Iexternal/pthreadpool/include /Ibazel-out/x64_windows-opt/bin/external/pthreadpool/include /Iexternal/FXdiv/include /Ibazel-out/x64_windows-opt/bin/external/FXdiv/include /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/eigen_archive/mkl_include /Ibazel-out/x64_windows-opt/bin/external/eigen_archive/mkl_include /Iexternal/org_tensorflow/tensorflow/lite/schema /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/schema /Iexternal/org_tensorflow/tensorflow/lite/acceleration/configuration /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/acceleration/configuration /Iexternal/XNNPACK/include /Ibazel-out/x64_windows-opt/bin/external/XNNPACK/include /Iexternal/XNNPACK/src /Ibazel-out/x64_windows-opt/bin/external/XNNPACK/src /Iexternal/FP16/include /Ibazel-out/x64_windows-opt/bin/external/FP16/include /Iexternal/farmhash_archive/src /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive/src /DTFLITE_KERNEL_USE_XNNPACK /DPTHREADPOOL_NO_DEPRECATED_API /DEIGEN_NEON_GEBP_NR=4 /DEIGEN_MAX_ALIGN_BYTES=64 /DEIGEN_ALLOW_UNALIGNED_SCALARS /DEIGEN_USE_AVX512_GEMM_KERNELS=0 /DFC_4BIT_SSE /DXNNPACK_DELEGATE_ENABLE_QS8=1 /DXNNPACK_DELEGATE_ENABLE_QU8=1 /DEIGEN_ALTIVEC_USE_CUSTOM_PACK=0 /DXNN_LOG_LEVEL=0 /DXNN_ENABLE_GEMM_M_SPECIALIZATION=1 /DXNN_ENABLE_JIT=0 /DXNN_ENABLE_ASSEMBLY=1 /DXNN_ENABLE_AVX512AMX=0 /DXNN_ENABLE_AVXVNNI=1 /DXNN_ENABLE_DWCONV_MULTIPASS=1 /DXNN_ENABLE_ARM_FP16_SCALAR=0 /DXNN_ENABLE_ARM_FP16_VECTOR=0 /DXNN_ENABLE_ARM_BF16=0 /DXNN_ENABLE_ARM_DOTPROD=0 /DXNN_ENABLE_ARM_I8MM=0 /DXNN_ENABLE_RISCV_FP16_VECTOR=0 /DXNN_ENABLE_AVX512VNNIGFNI=1 /DXNN_ENABLE_SPARSE=1 /DXNN_ENABLE_MEMOPT=1 /DBAZEL_CURRENT_REPOSITORY="org_tensorflow" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -DDATE="redacted" -DTIMESTAMP="redacted" -DTIME="redacted" /Gy /Gw /w /D_USE_MATH_DEFINES /std:c++17 -DFARMHASH_NO_CXX_STRING -DEIGEN_ALLOW_UNALIGNED_SCALARS /DTFL_COMPILE_LIBRARY /wd4018 -O3 -DTFLITE_MMAP_DISABLED /DEIGEN_HAS_C99_MATH /DEIGEN_AVOID_STL_ARRAY -DTFLITE_HAVE_CPUINFO /Fobazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/kernels/_objs/builtin_op_kernels/stablehlo_reduce_window.obj /c external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc

Configuration: 672881ceaf50834d75c0c3a03b5defac2bf333ea8266cd21ca6ef04746eb7d9e

Execution platform: @local_execution_config_platform//:platform

cl: 命令行 warning D9002 :忽略未知选项“-O3” 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\algorithm 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals_core.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\sal.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\concurrencysal.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vadefs.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstdint 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\stdint.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstdlib 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\math.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_math.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_math_defines.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\stdlib.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_malloc.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_search.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\stddef.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wstdlib.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\limits.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\limits 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cfloat 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\float.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\climits 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cwchar 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstdio 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\stdio.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wstdio.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_stdio_config.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\wchar.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_memcpy_s.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\errno.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_string.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wconio.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wctype.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wdirect.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wio.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_share.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wprocess.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wstring.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_wtime.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\sys/stat.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\sys/types.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\intrin0.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\intrin0.inl.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\isa_availability.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstddef 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtr1common 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\initializer_list 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\new 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\exception 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\crtdbg.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_new_debug.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_new.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\crtdefs.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\use_ansi.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\type_traits 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\malloc.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_exception.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\eh.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_terminate.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xatomic.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xutility 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstring 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\string.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_memory.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\utility 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\array 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cassert 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\assert.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\tuple 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\typeinfo 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vcruntime_typeinfo.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\memory 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\iosfwd 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\unordered_map 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xhash 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cmath 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\list 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xpolymorphic_allocator.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xbit_ops.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xnode_handle.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/array.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/c/common.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\stdarg.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\stdbool.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/c/c_api_types.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/builtin_ops.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/c/c_api_types.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/c/builtin_op_data.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/subgraph.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\atomic 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xthreads.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtimec.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\ctime 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\time.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\map 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\string 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cctype 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\ctype.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\unordered_set 注意: 包含文件: external/org_tensorflow\tensorflow/lite/allocation.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/api/error_reporter.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstdarg 注意: 包含文件: external/org_tensorflow\tensorflow/lite/c/common_internal.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/api/op_resolver.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/schema/schema_generated.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/flatbuffers.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/array.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/base.h 注意: 包含文件: C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\assert.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\set 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\iterator 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\string_view 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/stl_emulation.h 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional 注意: 包含文件: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xsmf_control.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/vector.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/buffer.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/buffer_ref.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/verifier.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/detached_buffer.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/allocator.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/default_allocator.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/flatbuffer_builder.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/string.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/struct.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/table.h 注意: 包含文件: bazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc\flatbuffers/vector_downward.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/api/profiler.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/core/macros.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/experimental/resource/initialization_status.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/experimental/resource/resource_base.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/graph_info.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/interpreter_options.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/memory_planner.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/util.h 注意: 包含文件: external/org_tensorflow\tensorflow/lite/kernels/kernel_util.h external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(361): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(361): error C2143: 语法错误: 缺少“,”(在“*”的前面) external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(368): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(368): error C2065: “rank”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(369): error C2065: “output_shape”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(369): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(370): error C2065: “output”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(370): error C2065: “init”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(371): error C2065: “Op”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(371): error C2065: “input”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(371): error C2065: “window_shape”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(371): error C2065: “window_reduce_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(372): error C2065: “output”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(372): error C2065: “rank”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(373): error C2065: “input”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(373): error C2065: “window_offset_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(373): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(374): error C2065: “output”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(374): error C2065: “output_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(374): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(377): error C2065: “output_shape”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(377): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(378): error C2065: “Op”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(378): error C2065: “input”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(378): error C2065: “output”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(378): error C2065: “output_shape”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(378): error C2065: “output_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(379): error C2065: “window_offset_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(379): error C2065: “window_shape”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(380): error C2065: “window_reduce_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(380): error C2065: “init”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(380): error C2065: “rank”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(380): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(381): error C2065: “input”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(381): error C2065: “window_offset_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(381): error C2065: “depth”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(382): error C2065: “output”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(382): error C2065: “output_strides”: 未声明的标识符 external/org_tensorflow/tensorflow/lite/kernels/stablehlo_reduce_window.cc(382): error C2065: “depth”: 未声明的标识符 Target //mediapipe_api:mediapipe_desktop failed to build INFO: Elapsed time: 396.396s, Critical Path: 279.63s INFO: 2556 processes: 1084 internal, 1472 local. FAILED: Build did NOT complete successfully Traceback (most recent call last): File "D:\UnityProjects\mediapipe_github\MediaPipeUnityPlugin\build.py", line 475, in Argument().command().run() File "D:\UnityProjects\mediapipe_github\MediaPipeUnityPlugin\build.py", line 143, in run self._run_command(self._build_desktop_commands()) File "D:\UnityProjects\mediapipe_github\MediaPipeUnityPlugin\build.py", line 56, in _run_command return subprocess.run(' '.join(command_list), check=True, shell=shell) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\24432\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://Users//24432//AppData//Local//Programs//Python//Python312//python.exe" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --action_env PROCESSOR_LEVEL --action_env PROCESSOR_REVISION --verbose_failures --define MEDIAPIPE_DISABLE_GPU=1 --@opencv//:switch=cmake //mediapipe_api:mediapipe_desktop' returned non-zero exit status 1.

Additional Context

Full log is too long, this is the error part

homuler commented 12 hours ago

Please fork this repository and use the build-package workflow. cf. https://github.com/homuler/MediaPipeUnityPlugin?tab=readme-ov-file#hammer_and_wrench-installation