android sdk更新失败Failed to create directory C:\ Program Files\Android\android-sdk\temp

本文解决Windows 7用户在安装SDK平台工具时遇到的Failed to create directory...错误问题。提供了两个解决方案:一是完全禁用用户账户控制设置;二是确保对指定文件夹有写权限,并以管理员身份运行Eclipse或SDK管理器。

Fixing “Failed to create directory…” error while installing SDK Platform

解决SDK平台安装失败的问题


This is a common problem faced by Windows 7 users while installing SDK Platform Tools. The error says:
Downloading Android SDK Platform-tools, revision 7
Failed to create directory C:\ Program Files\Android\android-sdk\temp
Downloading SDK Platform Android 2.3.3, API 10, revision 2
Failed to create directory C:\ Program Files\Android\android-sdk\temp
Downloading SDK Platform Android 2.2, API 8, revision 3
Failed to create directory C:\ Program Files\Android\android-sdk\temp
Downloading SDK Platform Android 2.1, API 7, revision 3
Failed to create directory C:\ Program Files\Android\android-sdk\temp

解决方法一:

To fix this issue you need to disable your UAC (User Account Control) setting completely. Go to Control Panel > User Accounts and Family Safety > User Accounts > Change User Accounts Control Settings. Click there and this will open a new Window for UAC permissions or Click on Windows Button > Type UAC > Hit EnterDrag down the slider to Never notify and Click Ok. After that, restart Windows to apply settings.

按上面步骤,更改用户账户控制设置,然后重新启动即可。如下图:



解决方法二:(推荐)

Make sure you have writing permissions for that folder. Try starting Eclipse or the SDK Manager as Administrator.

确保对这个文件夹有写的权限,以管理员方式运行Eclipse。



好像卡住了”(.venv) PS E:\PyTorch_Build\pytorch> # 1. 准备工作空间 (.venv) PS E:\PyTorch_Build\pytorch> $sourceDir = "E:\PyTorch_Build\pytorch" (.venv) PS E:\PyTorch_Build\pytorch> $buildDir = "$sourceDir\build" (.venv) PS E:\PyTorch_Build\pytorch> $installDir = "$sourceDir\install" (.venv) PS E:\PyTorch_Build\pytorch> (.venv) PS E:\PyTorch_Build\pytorch> # 清理工作区 (.venv) PS E:\PyTorch_Build\pytorch> Remove-Item -Path $buildDir -Recurse -Force -ErrorAction SilentlyContinue (.venv) PS E:\PyTorch_Build\pytorch> Remove-Item -Path $installDir -Recurse -Force -ErrorAction SilentlyContinue (.venv) PS E:\PyTorch_Build\pytorch> New-Item -Path $buildDir -ItemType Directory -Force | Out-Null (.venv) PS E:\PyTorch_Build\pytorch> New-Item -Path $installDir -ItemType Directory -Force | Out-Null (.venv) PS E:\PyTorch_Build\pytorch> (.venv) PS E:\PyTorch_Build\pytorch> # 2. 设置环境变量 (.venv) PS E:\PyTorch_Build\pytorch> $env:Path = "C:\Program Files\CMake\bin;E:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin;E:\Python310;$env:Path" (.venv) PS E:\PyTorch_Build\pytorch> $env:CUDA_PATH = "E:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0" (.venv) PS E:\PyTorch_Build\pytorch> (.venv) PS E:\PyTorch_Build\pytorch> # 3. 安装正确的 CMake 版本 (.venv) PS E:\PyTorch_Build\pytorch> Write-Host "安装 CMake 3.28..." 安装 CMake 3.28... (.venv) PS E:\PyTorch_Build\pytorch> Invoke-WebRequest -Uri "https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-windows-x86_64.msi" -OutFile "$env:TEMP\cmake.msi" Invoke-WebRequest: One or more errors occurred. (The response ended prematurely. (ResponseEnded)) (.venv) PS E:\PyTorch_Build\pytorch> Start-Process msiexec -ArgumentList "/i `"$env:TEMP\cmake.msi`" /quiet" -Wait (.venv) PS E:\PyTorch_Build\pytorch> $env:Path = "C:\Program Files\CMake\bin;$env:Path" (.venv) PS E:\PyTorch_Build\pytorch> (.venv) PS E:\PyTorch_Build\pytorch> # 4. 生成 CMake 配置 (.venv) PS E:\PyTorch_Build\pytorch> Set-Location $buildDir (.venv) PS E:\PyTorch_Build\pytorch\build> (.venv) PS E:\PyTorch_Build\pytorch\build> $cmakeCommand = @" >> cmake $sourceDir ` >> -G "Visual Studio 17 2022" -A x64 ` >> -DCMAKE_INSTALL_PREFIX="$installDir" ` >> -DCMAKE_TOOLCHAIN_FILE="$sourceDir/cmake/modules/win_toolchain.cmake" ` >> -DBUILD_PYTHON=ON ` >> -DPython_EXECUTABLE="E:\Python310\python.exe" ` >> -DUSE_CUDA=ON ` >> -DUSE_CUDNN=ON ` >> -DCUDNN_INCLUDE_DIR="E:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\include" ` >> -DCUDNN_LIBRARY="E:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\lib\x64\cudnn.lib" ` >> -DUSE_MKLDNN=OFF ` >> -DUSE_DNNL=OFF ` >> -DUSE_STATIC_OPENMP=ON ` >> -DBUILD_TEST=OFF ` >> -DBUILD_TORCH=ON ` >> -DCMAKE_BUILD_TYPE=Release >> "@ (.venv) PS E:\PyTorch_Build\pytorch\build> (.venv) PS E:\PyTorch_Build\pytorch\build> Invoke-Expression $cmakeCommand 2>&1 | Tee-Object -FilePath "$buildDir\cmake_configure.log" -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.26100.0 to target Windows . -- The CXX compiler identification is MSVC 19.44.35215.0 -- The C compiler identification is MSVC 19.44.35215.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Not forcing any particular BLAS to be found -- Build type not set - defaulting to Release -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Success -- Performing Test C_HAS_AVX512_1 -- Performing Test C_HAS_AVX512_1 - Success -- Performing Test CXX_HAS_AVX_1 -- Performing Test CXX_HAS_AVX_1 - Success -- Performing Test CXX_HAS_AVX2_1 -- Performing Test CXX_HAS_AVX2_1 - Success -- Performing Test CXX_HAS_AVX512_1 -- Performing Test CXX_HAS_AVX512_1 - Success -- Current compiler supports avx2 extension. Will build perfkernels. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Failed -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Failed -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. -- Compiler does not support SVE extension. Will not build perfkernels. -- Performing Test HAS/UTF_8 -- Performing Test HAS/UTF_8 - Success -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR) (found version "13.0") -- Building using own protobuf under third_party per request. -- Use custom protobuf build. -- -- 3.13.0.0 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Caffe2 protobuf include directory: $<BUILD_INTERFACE:E:/PyTorch_Build/pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include> -- Trying to find preferred BLAS backend of choice: MKL -- MKL_THREADING = OMP -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- MKL_THREADING = OMP -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - libiomp5md - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - libiomp5md - pthread] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread] -- Library mkl_intel: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [flexiblas] -- Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m - gomp] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [libopenblas] -- Library libopenblas: BLAS_libopenblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [] -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Cannot find a library with BLAS API. Not using BLAS. -- Using pocketfft in directory: E:/PyTorch_Build/pytorch/third_party/pocketfft/ -- Using third party subdirectory Eigen. -- Found Python: E:/Python310/python.exe (found version "3.10.10") found components: Interpreter Development.Module NumPy -- Using third_party/pybind11. -- pybind11 include dirs: E:/PyTorch_Build/pytorch/cmake/../third_party/pybind11/include -- Could NOT find OpenTelemetryApi (missing: OpenTelemetryApi_INCLUDE_DIRS) -- Using third_party/opentelemetry-cpp. -- opentelemetry api include dirs: E:/PyTorch_Build/pytorch/cmake/../third_party/opentelemetry-cpp/api/include -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) -- MKL_THREADING = OMP -- Check OMP with lib C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/lib/x64/libomp.lib and flags -openmp:experimental -- MKL_THREADING = OMP -- Check OMP with lib C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/lib/x64/libomp.lib and flags -openmp:experimental -- Found OpenMP_C: -openmp:experimental -- Found OpenMP_CXX: -openmp:experimental -- Found OpenMP: TRUE -- Adding OpenMP CXX_FLAGS: -openmp:experimental -- Will link against OpenMP libraries: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/lib/x64/libomp.lib -- Found nvtx3: E:/PyTorch_Build/pytorch/third_party/NVTX/c/include -- ROCM_PATH environment variable is not set and C:/opt/rocm does not exist. Building without ROCm support. -- Found Python3: E:/Python310/python.exe (found version "3.10.10") found components: Interpreter -- ONNX_PROTOC_EXECUTABLE: $<TARGET_FILE:protobuf::protoc> -- Protobuf_VERSION: Protobuf_VERSION_NOTFOUND -- -- ******** Summary ******** -- CMake version : 4.1.0 -- CMake command : E:/Python310/Lib/site-packages/cmake/data/bin/cmake.exe -- System : Windows -- C++ compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -- C++ compiler version : 19.44.35215.0 -- CXX flags : /DWIN32 /D_WINDOWS /EHsc /Zc:__cplusplus /MP /bigobj /FS /utf-8 /EHsc /wd26812 -- Build type : Release -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1 -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : C:/Program Files (x86)/Torch -- CMAKE_MODULE_PATH : E:/PyTorch_Build/pytorch/cmake/Modules;E:/PyTorch_Build/pytorch/cmake/public/../Modules_CUDA_fix -- -- ONNX version : 1.18.0 -- ONNX NAMESPACE : onnx_torch -- ONNX_USE_LITE_PROTO : OFF -- USE_PROTOBUF_SHARED_LIBS : OFF -- ONNX_DISABLE_EXCEPTIONS : OFF -- ONNX_DISABLE_STATIC_REGISTRATION : OFF -- ONNX_WERROR : OFF -- ONNX_BUILD_TESTS : OFF -- BUILD_SHARED_LIBS : OFF -- -- Protobuf compiler : $<TARGET_FILE:protobuf::protoc> -- Protobuf includes : -- Protobuf libraries : -- ONNX_BUILD_PYTHON : OFF -- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor -- Adding -DNDEBUG to compile flags -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - libiomp5md - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - libiomp5md - pthread] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread] -- Library mkl_intel: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [flexiblas] -- Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m - gomp] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [libopenblas] -- Library libopenblas: BLAS_libopenblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [] -- Cannot find a library with BLAS API. Not using BLAS. -- LAPACK requires BLAS -- Cannot find a library with LAPACK API. Not using LAPACK. -- MIOpen not found. Compiling without MIOpen support -- {fmt} version: 11.2.0 -- Build type: Release -- Using CPU-only version of Kineto -- Configuring Kineto dependency: -- KINETO_SOURCE_DIR = E:/PyTorch_Build/pytorch/third_party/kineto/libkineto -- KINETO_BUILD_TESTS = OFF -- KINETO_LIBRARY_TYPE = static -- Found PythonInterp: E:/Python310/python.exe (found version "3.10.10") -- CUDA_SOURCE_DIR = -- ROCM_SOURCE_DIR = -- CUPTI unavailable or disabled - not building GPU profilers -- Kineto: FMT_SOURCE_DIR = E:/PyTorch_Build/pytorch/third_party/fmt -- Kineto: FMT_INCLUDE_DIR = E:/PyTorch_Build/pytorch/third_party/fmt/include -- CUPTI_INCLUDE_DIR = /extras/CUPTI/include -- ROCTRACER_INCLUDE_DIR = /include/roctracer -- DYNOLOG_INCLUDE_DIR = E:/PyTorch_Build/pytorch/third_party/kineto/libkineto/third_party/dynolog/ -- IPCFABRIC_INCLUDE_DIR = E:/PyTorch_Build/pytorch/third_party/kineto/libkineto/third_party/dynolog//dynolog/src/ipcfabric/ -- Configured Kineto (CPU) -- Performing Test HAS/WD4624 -- Performing Test HAS/WD4624 - Success -- Performing Test HAS/WD4068 -- Performing Test HAS/WD4068 - Success -- Performing Test HAS/WD4067 -- Performing Test HAS/WD4067 - Success -- Performing Test HAS/WD4267 -- Performing Test HAS/WD4267 - Success -- Performing Test HAS/WD4661 -- Performing Test HAS/WD4661 - Success -- Performing Test HAS/WD4717 -- Performing Test HAS/WD4717 - Success -- Performing Test HAS/WD4244 -- Performing Test HAS/WD4244 - Success -- Performing Test HAS/WD4804 -- Performing Test HAS/WD4804 - Success -- Performing Test HAS/WD4273 -- Performing Test HAS/WD4273 - Success -- Performing Test HAS_WNO_STRINGOP_OVERFLOW -- Performing Test HAS_WNO_STRINGOP_OVERFLOW - Failed -- Found Git: E:/Program Files/Git/cmd/git.exe (found version "2.51.0.windows.1") -- -- Note: when building with Visual Studio the build type is specified when building. -- For example: 'cmake --build . --config=Release -- Architecture: -- Use the C++ compiler to compile (MI_USE_CXX=ON) -- -- Library name : mimalloc -- Version : 2.2.4 -- Build type : release -- C++ Compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -- Compiler flags : /Zc:__cplusplus -- Compiler defines : MI_CMAKE_BUILD_TYPE=release;MI_BUILD_RELEASE -- Link libraries : psapi;shell32;user32;advapi32;bcrypt -- Build targets : static -- -- don't use NUMA -- Looking for backtrace -- Looking for backtrace - not found -- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR) -- headers outputs: torch\csrc\inductor\aoti_torch\generated\c_shim_cuda.h not found torch\csrc\inductor\aoti_torch\generated\c_shim_cpu.h not found torch\csrc\inductor\aoti_torch\generated\c_shim_aten.h not found -- sources outputs: -- declarations_yaml outputs: -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Failed -- Using ATen parallel backend: OMP -- Check size of long double -- Check size of long double - done -- Performing Test COMPILER_SUPPORTS_FLOAT128 -- Performing Test COMPILER_SUPPORTS_FLOAT128 - Failed -- Found OpenMP_C: -openmp:experimental (found version "2.0") -- Found OpenMP_CXX: -openmp:experimental (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Performing Test COMPILER_SUPPORTS_OPENMP -- Performing Test COMPILER_SUPPORTS_OPENMP - Success -- Performing Test COMPILER_SUPPORTS_OMP_SIMD -- Performing Test COMPILER_SUPPORTS_OMP_SIMD - Failed -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Failed -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Failed -- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM -- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM - Failed -- Configuring build for SLEEF-v3.8.0 -- Using option `/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE ` to compile libsleef -- Building shared libs : OFF -- Building static test bins: OFF -- MPFR : LIB_MPFR-NOTFOUND -- GMP : LIBGMP-NOTFOUND -- RT : -- FFTW3 : LIBFFTW3-NOTFOUND -- OPENSSL : -- SDE : SDE_COMMAND-NOTFOUND -- COMPILER_SUPPORTS_OPENMP : FALSE -- -- ******** Summary ******** -- General: -- CMake version : 4.1.0 -- CMake command : E:/Python310/Lib/site-packages/cmake/data/bin/cmake.exe -- System : Windows -- C++ compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -- C++ compiler id : MSVC -- C++ compiler version : 19.44.35215.0 -- Using ccache if found : OFF -- CXX flags : /DWIN32 /D_WINDOWS /EHsc /Zc:__cplusplus /MP /bigobj /FS /utf-8 -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DSYMBOLICATE_MOBILE_DEBUG_HANDLE /wd4624 /wd4068 /wd4067 /wd4267 /wd4661 /wd4717 /wd4244 /wd4804 /wd4273 -- Shared LD flags : /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 -- Static LD flags : /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 -- Module LD flags : /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 -- Build type : Release -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1;ONNX_NAMESPACE=onnx_torch;_CRT_SECURE_NO_DEPRECATE=1;USE_EXTERNAL_MZCRC;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS;EXPORT_AOTI_FUNCTIONS;WIN32_LEAN_AND_MEAN;_UCRT_LEGACY_INFINITY;NOMINMAX;USE_MIMALLOC -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : C:/Program Files (x86)/Torch -- USE_GOLD_LINKER : OFF -- -- TORCH_VERSION : 2.9.0 -- BUILD_STATIC_RUNTIME_BENCHMARK: OFF -- BUILD_BINARY : OFF -- BUILD_CUSTOM_PROTOBUF : ON -- Link local protobuf : ON -- BUILD_PYTHON : ON -- Python version : 3.10.10 -- Python executable : E:/Python310/python.exe -- Python library : E:/Python310/libs/python310.lib -- Python includes : E:/Python310/include -- Python site-package : E:\Python310\Lib\site-packages -- BUILD_SHARED_LIBS : ON -- CAFFE2_USE_MSVC_STATIC_RUNTIME : OFF -- BUILD_TEST : OFF -- BUILD_JNI : OFF -- BUILD_MOBILE_AUTOGRAD : OFF -- BUILD_LITE_INTERPRETER: OFF -- INTERN_BUILD_MOBILE : -- TRACING_BASED : OFF -- USE_BLAS : 0 -- USE_LAPACK : 0 -- USE_ASAN : OFF -- USE_TSAN : OFF -- USE_CPP_CODE_COVERAGE : OFF -- USE_CUDA : OFF -- USE_XPU : OFF -- USE_ROCM : OFF -- BUILD_NVFUSER : -- USE_EIGEN_FOR_BLAS : ON -- USE_EIGEN_FOR_SPARSE : OFF -- USE_FBGEMM : OFF -- USE_KINETO : ON -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LITE_PROTO : OFF -- USE_PYTORCH_METAL : OFF -- USE_PYTORCH_METAL_EXPORT : OFF -- USE_MPS : OFF -- CAN_COMPILE_METAL : -- USE_MKL : OFF -- USE_MKLDNN : OFF -- USE_UCC : OFF -- USE_ITT : OFF -- USE_XCCL : OFF -- USE_NCCL : OFF -- Found NVSHMEM : -- USE_NNPACK : OFF -- USE_NUMPY : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENMP : ON -- USE_MIMALLOC : ON -- USE_MIMALLOC_ON_MKL : OFF -- USE_VULKAN : OFF -- USE_PROF : OFF -- USE_PYTORCH_QNNPACK : OFF -- USE_XNNPACK : OFF -- USE_DISTRIBUTED : OFF -- Public Dependencies : -- Private Dependencies : Threads::Threads;cpuinfo;fp16;caffe2::openmp;fmt::fmt-header-only;kineto -- Public CUDA Deps. : -- Private CUDA Deps. : -- USE_COREML_DELEGATE : OFF -- BUILD_LAZY_TS_BACKEND : ON -- USE_ROCM_KERNEL_ASSERT : OFF -- Performing Test HAS_WMISSING_PROTOTYPES -- Performing Test HAS_WMISSING_PROTOTYPES - Failed -- Performing Test HAS_WERROR_MISSING_PROTOTYPES -- Performing Test HAS_WERROR_MISSING_PROTOTYPES - Failed -- Configuring incomplete, errors occurred! (.venv) PS E:\PyTorch_Build\pytorch\build> (.venv) PS E:\PyTorch_Build\pytorch\build> # 5. 编译和安装 (.venv) PS E:\PyTorch_Build\pytorch\build> cmake --build . --config Release --target install -j 8 2>&1 | Tee-Object -FilePath "$buildDir\cmake_build.log" 閫傜敤浜?.NET Framework MSBuild 鐗堟湰 17.14.19+164abd434 MSBUILD : error MSB1009: 椤圭洰鏂囦欢涓嶅瓨鍦ㄣ€? 寮€鍏?install.vcxproj (.venv) PS E:\PyTorch_Build\pytorch\build> (.venv) PS E:\PyTorch_Build\pytorch\build> # 6. 安装 Python 绑定 (.venv) PS E:\PyTorch_Build\pytorch\build> Set-Location $sourceDir (.venv) PS E:\PyTorch_Build\pytorch> & "E:\Python310\python.exe" setup.py develop --cmake --no-deps Building wheel torch-2.9.0a0+git2d31c3d -- Building version 2.9.0a0+git2d31c3d -- Checkout nccl release tag: v2.27.5-1 cmake -GVisual Studio 17 2022 -Ax64 -Thost=x64 -DBUILD_ONLY_CORE=1 -DBUILD_PYTHON=True -DBUILD_SHARED_LIBS=OFF -DBUILD_TEST=True -DBUILD_TORCH=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS=-static -DCMAKE_GENERATOR=Visual Studio 17 2022 -DCMAKE_INSTALL_PREFIX=E:\PyTorch_Build\pytorch\torch -DCMAKE_PREFIX_PATH=E:\Python310\Lib\site-packages -DCMAKE_TOOLCHAIN_FILE=E:\PyTorch_Build\pytorch\cmake\modules\win_toolchain.cmake -DPython_EXECUTABLE=E:\Python310\python.exe -DPython_NumPy_INCLUDE_DIR=E:\Python310\lib\site-packages\numpy\core\include -DTORCH_BUILD_VERSION=2.9.0a0+git2d31c3d -DUSE_NINJA=0 -DUSE_NUMPY=True -DUSE_STATIC_CUDNN=ON -DUSE_STATIC_NCCL=ON -DUSE_STATIC_OPENMP=ON E:\PyTorch_Build\pytorch CMake Deprecation Warning at CMakeLists.txt:18 (cmake_policy): The OLD behavior for policy CMP0126 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Selecting Windows SDK version 10.0.26100.0 to target Windows . -- The CXX compiler identification is MSVC 19.44.35215.0 -- The C compiler identification is MSVC 19.44.35215.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Not forcing any particular BLAS to be found CMake Warning at CMakeLists.txt:425 (message): TensorPipe cannot be used on Windows. Set it to OFF CMake Warning at CMakeLists.txt:427 (message): KleidiAI cannot be used on Windows. Set it to OFF CMake Warning at CMakeLists.txt:439 (message): Libuv is not installed in current conda env. Set USE_DISTRIBUTED to OFF. Please run command 'conda install -c conda-forge libuv=1.39' to install libuv. -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Success -- Performing Test C_HAS_AVX512_1 -- Performing Test C_HAS_AVX512_1 - Success -- Performing Test CXX_HAS_AVX_1 -- Performing Test CXX_HAS_AVX_1 - Success -- Performing Test CXX_HAS_AVX2_1 -- Performing Test CXX_HAS_AVX2_1 - Success -- Performing Test CXX_HAS_AVX512_1 -- Performing Test CXX_HAS_AVX512_1 - Success -- Current compiler supports avx2 extension. Will build perfkernels. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Failed -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Failed -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. -- Compiler does not support SVE extension. Will not build perfkernels. CMake Warning at CMakeLists.txt:845 (message): x64 operating system is required for FBGEMM. Not compiling with FBGEMM. Turn this warning off by USE_FBGEMM=OFF. -- Performing Test HAS/UTF_8 -- Performing Test HAS/UTF_8 - Success -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR) (found version "13.0") CMake Warning at cmake/public/cuda.cmake:31 (message): PyTorch: CUDA cannot be found. Depending on whether you are building PyTorch or a PyTorch dependent library, the next warning / error will give you more info. Call Stack (most recent call first): cmake/Dependencies.cmake:44 (include) CMakeLists.txt:873 (include) CMake Warning at cmake/Dependencies.cmake:76 (message): Not compiling with CUDA. Suppress this warning with -DUSE_CUDA=OFF. Call Stack (most recent call first): CMakeLists.txt:873 (include) CMake Warning at cmake/Dependencies.cmake:95 (message): Not compiling with XPU. Could NOT find SYCL. Suppress this warning with -DUSE_XPU=OFF. Call Stack (most recent call first): CMakeLists.txt:873 (include) -- Building using own protobuf under third_party per request. -- Use custom protobuf build. CMake Warning at cmake/ProtoBuf.cmake:37 (message): Ancient protobuf forces CMake compatibility Call Stack (most recent call first): cmake/ProtoBuf.cmake:87 (custom_protobuf_find) cmake/Dependencies.cmake:107 (include) CMakeLists.txt:873 (include) CMake Deprecation Warning at third_party/protobuf/cmake/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. -- -- 3.13.0.0 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Caffe2 protobuf include directory: $<BUILD_INTERFACE:E:/PyTorch_Build/pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include> -- Trying to find preferred BLAS backend of choice: MKL -- MKL_THREADING = OMP -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- MKL_THREADING = OMP CMake Warning at cmake/Dependencies.cmake:213 (message): MKL could not be found. Defaulting to Eigen Call Stack (most recent call first): CMakeLists.txt:873 (include) CMake Warning at cmake/Dependencies.cmake:279 (message): Preferred BLAS (MKL) cannot be found, now searching for a general BLAS library Call Stack (most recent call first): CMakeLists.txt:873 (include) -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - libiomp5md - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - libiomp5md - pthread] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread] -- Library mkl_intel: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [flexiblas] -- Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m - gomp] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [libopenblas] -- Library libopenblas: BLAS_libopenblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [] -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Cannot find a library with BLAS API. Not using BLAS. -- Using pocketfft in directory: E:/PyTorch_Build/pytorch/third_party/pocketfft/ CMake Warning at cmake/Dependencies.cmake:351 (message): Target architecture "" is not supported in {Q/X}NNPACK. Supported architectures are x86, x86-64, ARM, and ARM64. Turn this warning off by USE_{Q/X}NNPACK=OFF. Call Stack (most recent call first): CMakeLists.txt:873 (include) CMake Deprecation Warning at third_party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. CMake Warning at third_party/cpuinfo/CMakeLists.txt:93 (MESSAGE): Target processor architecture is not specified. cpuinfo will compile, but cpuinfo_initialize() will always fail. -- Found Git: E:/Program Files/Git/cmd/git.exe (found version "2.51.0.windows.1") -- Google Benchmark version: v1.9.3, normalized to 1.9.3 -- Looking for shm_open in rt -- Looking for shm_open in rt - not found -- Performing Test HAVE_CXX_FLAG_WX -- Performing Test HAVE_CXX_FLAG_WX - Success -- Cross-compiling to test HAVE_STD_REGEX CMake Warning at third_party/benchmark/cmake/CXXFeatureCheck.cmake:49 (message): If you see build failures due to cross compilation, try setting HAVE_STD_REGEX to 0 Call Stack (most recent call first): third_party/benchmark/CMakeLists.txt:311 (cxx_feature_check) -- Performing Test HAVE_STD_REGEX -- success -- Cross-compiling to test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Cross-compiling to test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- failed to compile -- Cross-compiling to test HAVE_STEADY_CLOCK CMake Warning at third_party/benchmark/cmake/CXXFeatureCheck.cmake:49 (message): If you see build failures due to cross compilation, try setting HAVE_STEADY_CLOCK to 0 Call Stack (most recent call first): third_party/benchmark/CMakeLists.txt:322 (cxx_feature_check) -- Performing Test HAVE_STEADY_CLOCK -- success -- Cross-compiling to test HAVE_PTHREAD_AFFINITY -- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile CMake Warning at cmake/Dependencies.cmake:749 (message): FP16 is only cmake-2.8 compatible Call Stack (most recent call first): CMakeLists.txt:873 (include) CMake Deprecation Warning at third_party/FP16/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. CMake Deprecation Warning at third_party/psimd/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. -- Using third party subdirectory Eigen. -- Found Python: E:\Python310\python.exe (found version "3.10.10") found components: Interpreter Development.Module NumPy -- Using third_party/pybind11. -- pybind11 include dirs: E:/PyTorch_Build/pytorch/cmake/../third_party/pybind11/include -- Could NOT find OpenTelemetryApi (missing: OpenTelemetryApi_INCLUDE_DIRS) -- Using third_party/opentelemetry-cpp. -- opentelemetry api include dirs: E:/PyTorch_Build/pytorch/cmake/../third_party/opentelemetry-cpp/api/include -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) CMake Warning at cmake/Dependencies.cmake:894 (message): Not compiling with MPI. Suppress this warning with -DUSE_MPI=OFF Call Stack (most recent call first): CMakeLists.txt:873 (include) -- MKL_THREADING = OMP -- Check OMP with lib C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/lib/x64/libomp.lib and flags -openmp:experimental -- MKL_THREADING = OMP -- Check OMP with lib C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/lib/x64/libomp.lib and flags -openmp:experimental -- Found OpenMP_C: -openmp:experimental -- Found OpenMP_CXX: -openmp:experimental -- Found OpenMP: TRUE -- Adding OpenMP CXX_FLAGS: -openmp:experimental -- Will link against OpenMP libraries: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/lib/x64/libomp.lib -- Found nvtx3: E:/PyTorch_Build/pytorch/third_party/NVTX/c/include -- ROCM_PATH environment variable is not set and C:/opt/rocm does not exist. Building without ROCm support. -- Found Python3: E:\Python310\python.exe (found version "3.10.10") found components: Interpreter -- ONNX_PROTOC_EXECUTABLE: $<TARGET_FILE:protobuf::protoc> -- Protobuf_VERSION: Protobuf_VERSION_NOTFOUND Generated: E:/PyTorch_Build/pytorch/build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto Generated: E:/PyTorch_Build/pytorch/build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto Generated: E:/PyTorch_Build/pytorch/build/third_party/onnx/onnx/onnx-data_onnx_torch.proto -- -- ******** Summary ******** -- CMake version : 4.1.0 -- CMake command : E:/Python310/Lib/site-packages/cmake/data/bin/cmake.exe -- System : Windows -- C++ compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -- C++ compiler version : 19.44.35215.0 -- CXX flags : /DWIN32 /D_WINDOWS /EHsc /Zc:__cplusplus /MP /bigobj /FS /utf-8 /EHsc /wd26812 -- Build type : Release -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1 -- CMAKE_PREFIX_PATH : E:\Python310\Lib\site-packages -- CMAKE_INSTALL_PREFIX : E:/PyTorch_Build/pytorch/torch -- CMAKE_MODULE_PATH : E:/PyTorch_Build/pytorch/cmake/Modules;E:/PyTorch_Build/pytorch/cmake/public/../Modules_CUDA_fix -- -- ONNX version : 1.18.0 -- ONNX NAMESPACE : onnx_torch -- ONNX_USE_LITE_PROTO : OFF -- USE_PROTOBUF_SHARED_LIBS : OFF -- ONNX_DISABLE_EXCEPTIONS : OFF -- ONNX_DISABLE_STATIC_REGISTRATION : OFF -- ONNX_WERROR : OFF -- ONNX_BUILD_TESTS : OFF -- BUILD_SHARED_LIBS : OFF -- -- Protobuf compiler : $<TARGET_FILE:protobuf::protoc> -- Protobuf includes : -- Protobuf libraries : -- ONNX_BUILD_PYTHON : OFF -- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor -- Adding -DNDEBUG to compile flags CMake Warning at cmake/Dependencies.cmake:1418 (message): Not compiling with MAGMA. Suppress this warning with -DUSE_MAGMA=OFF. Call Stack (most recent call first): CMakeLists.txt:873 (include) -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - libiomp5md] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - libiomp5md - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - libiomp5md - pthread] -- Library mkl_intel: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread] -- Library mkl_intel: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [flexiblas] -- Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m - gomp] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [libopenblas] -- Library libopenblas: BLAS_libopenblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [] -- Cannot find a library with BLAS API. Not using BLAS. -- LAPACK requires BLAS -- Cannot find a library with LAPACK API. Not using LAPACK. disabling CUDA because NOT USE_CUDA is set disabling ROCM because NOT USE_ROCM is set -- MIOpen not found. Compiling without MIOpen support disabling MKLDNN because USE_MKLDNN is not set -- {fmt} version: 11.2.0 -- Build type: Release -- Using CPU-only version of Kineto -- Configuring Kineto dependency: -- KINETO_SOURCE_DIR = E:/PyTorch_Build/pytorch/third_party/kineto/libkineto -- KINETO_BUILD_TESTS = OFF -- KINETO_LIBRARY_TYPE = static CMake Deprecation Warning at third_party/kineto/libkineto/CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. CMake Warning (dev) at third_party/kineto/libkineto/CMakeLists.txt:15 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: E:/Python310/python.exe (found version "3.10.10") -- CUDA_SOURCE_DIR = -- ROCM_SOURCE_DIR = -- CUPTI unavailable or disabled - not building GPU profilers -- Kineto: FMT_SOURCE_DIR = E:/PyTorch_Build/pytorch/third_party/fmt -- Kineto: FMT_INCLUDE_DIR = E:/PyTorch_Build/pytorch/third_party/fmt/include -- CUPTI_INCLUDE_DIR = /extras/CUPTI/include -- ROCTRACER_INCLUDE_DIR = /include/roctracer -- DYNOLOG_INCLUDE_DIR = E:/PyTorch_Build/pytorch/third_party/kineto/libkineto/third_party/dynolog/ -- IPCFABRIC_INCLUDE_DIR = E:/PyTorch_Build/pytorch/third_party/kineto/libkineto/third_party/dynolog//dynolog/src/ipcfabric/ -- Configured Kineto (CPU) -- Performing Test HAS/WD4624 -- Performing Test HAS/WD4624 - Success -- Performing Test HAS/WD4068 -- Performing Test HAS/WD4068 - Success -- Performing Test HAS/WD4067 -- Performing Test HAS/WD4067 - Success -- Performing Test HAS/WD4267 -- Performing Test HAS/WD4267 - Success -- Performing Test HAS/WD4661 -- Performing Test HAS/WD4661 - Success -- Performing Test HAS/WD4717 -- Performing Test HAS/WD4717 - Success -- Performing Test HAS/WD4244 -- Performing Test HAS/WD4244 - Success -- Performing Test HAS/WD4804 -- Performing Test HAS/WD4804 - Success -- Performing Test HAS/WD4273 -- Performing Test HAS/WD4273 - Success -- Performing Test HAS_WNO_STRINGOP_OVERFLOW -- Performing Test HAS_WNO_STRINGOP_OVERFLOW - Failed -- -- Note: when building with Visual Studio the build type is specified when building. -- For example: 'cmake --build . --config=Release -- Architecture: x64 -- Use the C++ compiler to compile (MI_USE_CXX=ON) -- -- Library name : mimalloc -- Version : 2.2.4 -- Build type : release -- C++ Compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -- Compiler flags : /Zc:__cplusplus -- Compiler defines : MI_CMAKE_BUILD_TYPE=release;MI_BUILD_RELEASE -- Link libraries : psapi;shell32;user32;advapi32;bcrypt -- Build targets : static -- CMake Error at CMakeLists.txt:1264 (add_subdirectory): add_subdirectory given source "torch/headeronly" which is not an existing directory. -- don't use NUMA -- Looking for backtrace -- Looking for backtrace - not found -- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR) -- headers outputs: torch\csrc\inductor\aoti_torch\generated\c_shim_cuda.h not found torch\csrc\inductor\aoti_torch\generated\c_shim_cpu.h not found torch\csrc\inductor\aoti_torch\generated\c_shim_aten.h not found -- sources outputs: -- declarations_yaml outputs: -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Failed -- Using ATen parallel backend: OMP disabling CUDA because USE_CUDA is set false -- Check size of long double -- Check size of long double - done -- Performing Test COMPILER_SUPPORTS_FLOAT128 -- Performing Test COMPILER_SUPPORTS_FLOAT128 - Failed -- Found OpenMP_C: -openmp:experimental (found version "2.0") -- Found OpenMP_CXX: -openmp:experimental (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Performing Test COMPILER_SUPPORTS_OPENMP -- Performing Test COMPILER_SUPPORTS_OPENMP - Success -- Performing Test COMPILER_SUPPORTS_OMP_SIMD -- Performing Test COMPILER_SUPPORTS_OMP_SIMD - Failed -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES -- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Failed -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH -- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Failed -- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM -- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM - Failed -- Configuring build for SLEEF-v3.8.0 Target system: Windows Target processor: Host system: Windows-10.0.26100 Host processor: AMD64 Detected C compiler: MSVC @ C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe CMake: 4.1.0 Make program: C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe Crosscompiling SLEEF. Native build dir: -- Using option `/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE ` to compile libsleef -- Building shared libs : OFF -- Building static test bins: OFF -- MPFR : LIB_MPFR-NOTFOUND -- GMP : LIBGMP-NOTFOUND -- RT : -- FFTW3 : LIBFFTW3-NOTFOUND -- OPENSSL : -- SDE : SDE_COMMAND-NOTFOUND -- COMPILER_SUPPORTS_OPENMP : FALSE AT_INSTALL_INCLUDE_DIR include/ATen/core core header install: E:/PyTorch_Build/pytorch/build/aten/src/ATen/core/aten_interned_strings.h core header install: E:/PyTorch_Build/pytorch/build/aten/src/ATen/core/enum_tag.h core header install: E:/PyTorch_Build/pytorch/build/aten/src/ATen/core/TensorBody.h CMake Error: File E:/PyTorch_Build/pytorch/torch/_utils_internal.py does not exist. CMake Error at caffe2/CMakeLists.txt:241 (configure_file): configure_file Problem configuring file CMake Error: File E:/PyTorch_Build/pytorch/torch/csrc/api/include/torch/version.h.in does not exist. CMake Error at caffe2/CMakeLists.txt:246 (configure_file): configure_file Problem configuring file CMake Error at caffe2/CMakeLists.txt:1398 (add_subdirectory): The source directory E:/PyTorch_Build/pytorch/torch does not contain a CMakeLists.txt file. CMake Warning at CMakeLists.txt:1285 (message): Generated cmake files are only fully tested if one builds with system glog, gflags, and protobuf. Other settings may generate files that are not well tested. CMake Warning at CMakeLists.txt:1349 (message): Generated cmake files are only available when building shared libs. -- -- ******** Summary ******** -- General: -- CMake version : 4.1.0 -- CMake command : E:/Python310/Lib/site-packages/cmake/data/bin/cmake.exe -- System : Windows -- C++ compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -- C++ compiler id : MSVC -- C++ compiler version : 19.44.35215.0 -- Using ccache if found : OFF -- CXX flags : /DWIN32 /D_WINDOWS /EHsc /Zc:__cplusplus /MP /bigobj /FS /utf-8 -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DSYMBOLICATE_MOBILE_DEBUG_HANDLE /wd4624 /wd4068 /wd4067 /wd4267 /wd4661 /wd4717 /wd4244 /wd4804 /wd4273 -- Shared LD flags : /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 -- Static LD flags : /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 -- Module LD flags : /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 -- Build type : Release -- Compile definitions : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1;ONNX_NAMESPACE=onnx_torch;_CRT_SECURE_NO_DEPRECATE=1;USE_EXTERNAL_MZCRC;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS;EXPORT_AOTI_FUNCTIONS;WIN32_LEAN_AND_MEAN;_UCRT_LEGACY_INFINITY;NOMINMAX;USE_MIMALLOC -- CMAKE_PREFIX_PATH : E:\Python310\Lib\site-packages -- CMAKE_INSTALL_PREFIX : E:/PyTorch_Build/pytorch/torch -- USE_GOLD_LINKER : OFF -- -- TORCH_VERSION : 2.9.0 -- BUILD_STATIC_RUNTIME_BENCHMARK: OFF -- BUILD_BINARY : OFF -- BUILD_CUSTOM_PROTOBUF : ON -- Protobuf compiler : -- Protobuf includes : -- Protobuf libraries : -- BUILD_PYTHON : True -- Python version : 3.10.10 -- Python executable : E:\Python310\python.exe -- Python library : E:/Python310/libs/python310.lib -- Python includes : E:/Python310/include -- Python site-package : E:\Python310\Lib\site-packages -- BUILD_SHARED_LIBS : OFF -- CAFFE2_USE_MSVC_STATIC_RUNTIME : ON -- BUILD_TEST : True -- BUILD_JNI : OFF -- BUILD_MOBILE_AUTOGRAD : OFF -- BUILD_LITE_INTERPRETER: OFF -- INTERN_BUILD_MOBILE : -- TRACING_BASED : OFF -- USE_BLAS : 0 -- USE_LAPACK : 0 -- USE_ASAN : OFF -- USE_TSAN : OFF -- USE_CPP_CODE_COVERAGE : OFF -- USE_CUDA : OFF -- USE_XPU : OFF -- USE_ROCM : OFF -- BUILD_NVFUSER : -- USE_EIGEN_FOR_BLAS : ON -- USE_EIGEN_FOR_SPARSE : OFF -- USE_FBGEMM : OFF -- USE_KINETO : ON -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LITE_PROTO : OFF -- USE_PYTORCH_METAL : OFF -- USE_PYTORCH_METAL_EXPORT : OFF -- USE_MPS : OFF -- CAN_COMPILE_METAL : -- USE_MKL : OFF -- USE_MKLDNN : OFF -- USE_UCC : OFF -- USE_ITT : OFF -- USE_XCCL : OFF -- USE_NCCL : OFF -- Found NVSHMEM : -- USE_NNPACK : OFF -- USE_NUMPY : ON -- USE_OBSERVERS : ON -- USE_OPENCL : OFF -- USE_OPENMP : ON -- USE_MIMALLOC : ON -- USE_MIMALLOC_ON_MKL : OFF -- USE_VULKAN : OFF -- USE_PROF : OFF -- USE_PYTORCH_QNNPACK : OFF -- USE_XNNPACK : OFF -- USE_DISTRIBUTED : OFF -- Public Dependencies : -- Private Dependencies : Threads::Threads;cpuinfo;fp16;caffe2::openmp;fmt::fmt-header-only;kineto -- Public CUDA Deps. : -- Private CUDA Deps. : -- USE_COREML_DELEGATE : OFF -- BUILD_LAZY_TS_BACKEND : ON -- USE_ROCM_KERNEL_ASSERT : OFF -- Performing Test HAS_WMISSING_PROTOTYPES -- Performing Test HAS_WMISSING_PROTOTYPES - Failed -- Performing Test HAS_WERROR_MISSING_PROTOTYPES -- Performing Test HAS_WERROR_MISSING_PROTOTYPES - Failed -- Configuring incomplete, errors occurred! (.venv) PS E:\PyTorch_Build\pytorch> (.venv) PS E:\PyTorch_Build\pytorch> # 7. 验证安装 (.venv) PS E:\PyTorch_Build\pytorch> & "E:\Python310\python.exe" -c @" >> import torch >> print(f'PyTorch版本: {torch.__version__}') >> print(f'CUDA可用: {torch.cuda.is_available()}') >> print(f'CUDA版本: {torch.version.cuda}') >> print(f'cuDNN版本: {torch.backends.cudnn.version()}') >> "@ Traceback (most recent call last): File "<string>", line 1, in <module> File "E:\Python310\lib\site-packages\torch-2.9.0a0+git2d31c3d-py3.10-win-amd64.egg\torch\__init__.py", line 281, in <module> _load_dll_libraries() File "E:\Python310\lib\site-packages\torch-2.9.0a0+git2d31c3d-py3.10-win-amd64.egg\torch\__init__.py", line 277, in _load_dll_libraries raise err OSError: [WinError 126] 找不到指定的模块。 Error loading "E:\Python310\lib\site-packages\torch-2.9.0a0+git2d31c3d-py3.10-win-amd64.egg\torch\lib\aoti_custom_ops.dll" or one of its dependencies. (.venv) PS E:\PyTorch_Build\pytorch> Set-Content -Path manual_build.ps1 -Value (Get-Content manual_build.ps1) Get-Content: Cannot find path 'E:\PyTorch_Build\pytorch\manual_build.ps1' because it does not exist. (.venv) PS E:\PyTorch_Build\pytorch> .\manual_build.ps1 (.venv) PS E:\PyTorch_Build\pytorch> # 安装 Docker Desktop (.venv) PS E:\PyTorch_Build\pytorch> Invoke-WebRequest -Uri "https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe" -OutFile "$env:TEMP\docker_install.exe" (.venv) PS E:\PyTorch_Build\pytorch> Start-Process -FilePath "$env:TEMP\docker_install.exe" -ArgumentList "install --quiet" -Wait “
09-02
不要发这种 ”步骤1: 更新脚本文件 替换 Setup-Environment.ps1 中的 Install-DotNetSDK 和 Fix-EnvironmentPath 函数 替换 ProjectEcosystemManager.ps1 中的 Resolve-Executable 函数“我看不懂 也不会改 我只做了解决方案的部分 小蓝窗”PS C:\Users\Administrator> # 更新 Setup-Environment.ps1 中的 Install-DotNetSDK 函数 >> function Install-DotNetSDK { >> Write-Host "Installing .NET SDK..." >> >> # 直接下载安装包(使用可靠链接) >> $dotnetUrl = "https://download.visualstudio.microsoft.com/download/pr/8d5ffbe0-0e5b-4d9e-84aa-7950d7e2c4bd/dotnet-sdk-8.0.300-win-x64.exe" >> $dotnetInstaller = "$tempDir\dotnet-installer.exe" >> >> # 使用重试机制下载 >> $retryCount = 0 >> $maxRetries = 3 >> $downloadSuccess = $false >> >> while ($retryCount -lt $maxRetries -and -not $downloadSuccess) { >> try { >> Write-Host "Attempt $($retryCount+1) to download .NET SDK..." >> Invoke-WebRequest -Uri $dotnetUrl -OutFile $dotnetInstaller -ErrorAction Stop >> $downloadSuccess = $true >> Write-Host "✅ .NET SDK download successful" -ForegroundColor Green >> } >> catch { >> $retryCount++ >> Write-Host "⚠️ Download failed: $_" -ForegroundColor Yellow >> Start-Sleep -Seconds 5 >> } >> } >> >> if (-not $downloadSuccess) { >> Write-Host "❌ Failed to download .NET SDK after $maxRetries attempts" -ForegroundColor Red >> Write-Host "Manual download link: https://dotnet.microsoft.com/en-us/download/dotnet/8.0" >> exit 1 >> } >> >> # 安装.NET SDK >> try { >> Write-Host "Installing .NET SDK..." >> $process = Start-Process $dotnetInstaller -ArgumentList "/install", "/quiet", "/norestart" -Wait -PassThru >> >> if ($process.ExitCode -eq 0) { >> Write-Host "✅ .NET SDK installed successfully" -ForegroundColor Green >> } >> else { >> Write-Host "⚠️ .NET SDK installation exited with code $($process.ExitCode)" -ForegroundColor Yellow >> } >> } >> catch { >> Write-Host "❌ .NET SDK installation failed: $_" -ForegroundColor Red >> exit 1 >> } >> >> # 验证安装 >> if (-not (Test-Path "C:\Program Files\dotnet\dotnet.exe")) { >> Write-Host "❌ .NET SDK not found after installation" -ForegroundColor Red >> exit 1 >> } >> } >> PS C:\Users\Administrator> # 更新 ProjectEcosystemManager.ps1 中的 Resolve-Executable 函数 >> function Resolve-Executable { >> param([string]$name) >> >> $logMessage = "Resolving $name executable..." >> $logMessage | Out-File $logFile -Append >> >> # 1. 检查已知安装路径 >> $knownPaths = @( >> "C:\Program Files\nodejs\$name.exe", >> "C:\Program Files\dotnet\$name.exe", >> "C:\Program Files (x86)\nodejs\$name.exe", >> "C:\Program Files (x86)\dotnet\$name.exe", >> "$env:ProgramFiles\nodejs\$name.exe", >> "$env:ProgramFiles\dotnet\$name.exe" >> ) >> >> foreach ($path in $knownPaths) { >> $logMessage = "Checking: $path" >> $logMessage | Out-File $logFile -Append >> >> if (Test-Path $path) { >> $logMessage = "✅ Found at: $path" >> $logMessage | Out-File $logFile -Append >> return $path >> } >> } >> >> # 2. 使用系统PATH查找 >> $pathDirs = $env:PATH -split ';' >> foreach ($dir in $pathDirs) { >> if ([string]::IsNullOrWhiteSpace($dir)) { continue } >> >> $exePath = Join-Path $dir "$name.exe" >> $logMessage = "Checking PATH: $exePath" >> $logMessage | Out-File $logFile -Append >> >> if (Test-Path $exePath) { >> $logMessage = "✅ Found in PATH: $exePath" >> $logMessage | Out-File $logFile -Append >> return $exePath >> } >> } >> >> # 3. 终极手段:创建符号链接 >> try { >> $systemDir = "$env:SystemRoot\System32" >> $exePath = Join-Path $systemDir "$name.exe" >> >> if ($name -eq "node") { >> $source = "C:\Program Files\nodejs\node.exe" >> } >> elseif ($name -eq "dotnet") { >> $source = "C:\Program Files\dotnet\dotnet.exe" >> } >> >> if (Test-Path $source) { >> $logMessage = "Creating symlink: $exePath -> $source" >> $logMessage | Out-File $logFile -Append >> >> if (-not (Test-Path $exePath)) { >> cmd /c mklink "$exePath" "$source" 2>$null >> } >> >> if (Test-Path $exePath) { >> $logMessage = "✅ Created symlink: $exePath" >> $logMessage | Out-File $logFile -Append >> return $exePath >> } >> } >> } >> catch { >> $errorMsg = "❌ Failed to create symlink: $_" >> $errorMsg | Out-File $logFile -Append >> } >> >> # 所有方法都失败 >> $errorMsg = "❌ Unable to find $name executable after all attempts" >> $errorMsg | Out-File $logFile -Append >> throw $errorMsg >> } >> PS C:\Users\Administrator> # 更新 Setup-Environment.ps1 中的 Fix-EnvironmentPath 函数 >> function Fix-EnvironmentPath { >> Write-Host "Fixing environment variables..." >> >> # 获取当前PATH >> $currentPath = [Environment]::GetEnvironmentVariable("PATH", "Machine") >> >> # 清理重复路径 >> $pathArray = $currentPath -split ';' | >> Where-Object { -not [string]::IsNullOrWhiteSpace($_) } | >> ForEach-Object { $_.TrimEnd('\') } | >> Select-Object -Unique >> >> # 确保关键路径存在 >> $requiredPaths = @( >> "C:\Program Files\nodejs", >> "C:\Program Files\dotnet", >> "C:\Windows\System32", >> "C:\Windows\System32\WindowsPowerShell\v1.0", >> "C:\Sysinternals" >> ) >> >> # 添加缺失的关键路径 >> foreach ($path in $requiredPaths) { >> if ($pathArray -notcontains $path) { >> $pathArray = @($path) + $pathArray >> } >> } >> >> # 重建PATH字符串 >> $cleanPath = $pathArray -join ';' >> >> # 更新系统环境变量 >> [Environment]::SetEnvironmentVariable("PATH", $cleanPath, "Machine") >> >> # 更新当前会话 >> $env:PATH = $cleanPath >> >> Write-Host "✅ Environment variables fixed" -ForegroundColor Green >> Write-Host "New PATH: $cleanPath" >> } >> PS C:\Users\Administrator> # 正确查看日志的方法 >> function Get-ServiceLogs { >> $logDir = "E:\ProjectEcosystem\ProjectMonitor\Logs" >> $latestLog = Get-ChildItem -Path $logDir -Filter "Service_*.log" | >> Sort-Object LastWriteTime -Descending | >> Select-Object -First 1 -ExpandProperty FullName >> >> if ($latestLog) { >> Get-Content -Path $latestLog -Tail 50 -Wait >> } >> else { >> Write-Host "No log files found in $logDir" -ForegroundColor Yellow >> } >> } >> >> # 使用示例 >> Get-ServiceLogs >> === 生态系统管理服务启动于 08/13/2025 22:42:09 === 当前用户: BF-202503252000\Administrator 工作目录: E:\ PATH环境变量: C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Windows\System32;E:\curl-8.15.0_4-win64-mingw\bin;E:\Python310;E:\Python310\Scripts;C:\Windows;\Wbem;\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;E:\ai_temp;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Miniconda3\Scripts;C:\ProgramData\Miniconda3\Library\bin;C:\Program Files\Microsoft VS Code\bin;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;C:\Sysinternals ❌ 服务启动失败: ❌ 无法找到 === 生态系统管理服务启动于 08/13/2025 22:42:10 === 当前用户: BF-202503252000\Administrator 工作目录: E:\ PATH环境变量: C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\dotnet;C:\Windows\System32;E:\curl-8.15.0_4-win64-mingw\bin;E:\Python310;E:\Python310\Scripts;C:\Windows;\Wbem;\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;E:\ai_temp;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Miniconda3\Scripts;C:\ProgramData\Miniconda3\Library\bin;C:\Program Files\Microsoft VS Code\bin;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;E:\Python310;E:\Python310\Scripts;E:\ai_temp;C:\Sysinternals ❌ 服务启动失败: ❌ 无法找到“
08-14
Log started at 12/16/2025 17:53:50 (2025-12-16T09:53:50Z) No project arugment provided while trying to parse Project File. Attempting fallback parsing to attempt to find a Project File. -Target argument detected in original command line args. Will attempt to subparse in search of ProjectFile. Resolved project argument C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject to C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject -Target argument detected in original command line args. Will attempt to subparse in search of ProjectFile. Resolved project argument C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject to C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject Resolved project argument C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject to C:/Users/30297/Documents/Unreal Projects/cust/cust.uproject through -Target resolution. No config file at C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Restricted\NotForLicensees\Programs\UnrealBuildTool\BuildConfiguration.xml No config file at C:\ProgramData\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml No config file at C:\Users\30297\AppData\Local\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml No config file at C:\Users\30297\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml Configuration will be read from: C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Saved\UnrealBuildTool\BuildConfiguration.xml C:\Users\30297\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml No project scope config file at C:\Users\30297\Documents\Unreal Projects\cust\Saved\UnrealBuildTool\BuildConfiguration.xml. Creating default. Reading configuration file from: C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Saved\UnrealBuildTool\BuildConfiguration.xml Reading configuration file from: C:\Users\30297\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml Reading configuration file from: C:\Users\30297\Documents\Unreal Projects\cust\Saved\UnrealBuildTool\BuildConfiguration.xml Reading configuration file from: C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\Build\UnrealBuildTool.Env.BuildConfiguration.xml Log file: C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Programs\AutomationTool\Saved\Logs\UBA-UnrealPak-Win64-Development.txt Setting temp directory to 'C:\Users\30297\AppData\Local\Temp\UnrealBuildTool\2c5f2323' Registering build platform: UnrealBuildTool.AndroidPlatformFactory Unable to find valid SDK(s) for Android: Found Sdk Version=r25c, MinRequired=r27c, MaxRequired=r28c. Found AutoSdk Version, Required=r27c. Registering build platform: Android - buildable: False Registering build platform: UnrealBuildTool.IOSPlatformFactory Unable to find valid SDK(s) for IOS: Found Sdk Version, MinRequired=1100.0.0.0, MaxRequired=8999.0. Found AutoSdk Version, Required=15.2. Registering build platform: IOS - buildable: False Registering build platform: UnrealBuildTool.LinuxPlatformFactory Unable to find valid SDK(s) for Linux: Found Sdk Version, Required=v26_clang-20.1.8-rockylinux8. Found AutoSdk Version, Required=v26_clang-20.1.8-rockylinux8. Registering build platform: Linux - buildable: False Unable to find valid SDK(s) for LinuxArm64: Found Sdk Version, Required=v26_clang-20.1.8-rockylinux8. Found AutoSdk Version, Required=v26_clang-20.1.8-rockylinux8. Registering build platform: LinuxArm64 - buildable: False Registering build platform: UnrealBuildTool.MacPlatformFactory Unable to find valid SDK(s) for Mac: Found Sdk Version, MinRequired=1100.0.0.0, MaxRequired=8999.0. Found AutoSdk Version, Required=15.2. Registering build platform: Mac - buildable: False Registering build platform: UnrealBuildTool.TVOSPlatformFactory Unable to find valid SDK(s) for TVOS: Found Sdk Version, MinRequired=1100.0.0.0, MaxRequired=8999.0. Found AutoSdk Version, Required=15.2. Registering build platform: TVOS - buildable: False Registering build platform: UnrealBuildTool.WindowsPlatformFactory Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1) Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2) Found Windows 10 SDK version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10 Found Universal CRT version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10 Found Windows 10 SDK version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10 Found Universal CRT version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10 Found Windows 10 SDK version 10.0.26100.0 at C:\Program Files (x86)\Windows Kits\10 Found Universal CRT version 10.0.26100.0 at C:\Program Files (x86)\Windows Kits\10 Win64 Installed SDK(s): MinVersion_Sdk=10.0.19041.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.22621.0, Version_AutoSdk=10.0.22621.0, CurrentVersion_AutoSdk= Registering build platform: Win64 - buildable: True Registering build platform: UnrealBuildTool.VisionOSPlatformFactory Registering build platform: VisionOS - buildable: False Command line: C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll "-Target=UnrealPak Win64 Development -Project=\"C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject\"" "-Target=cust Android Development -Project=\"C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject\" -remoteini=\"C:\Users\30297\Documents\Unreal Projects\cust\" -skipdeploy " -log=C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Programs\AutomationTool\Saved\Logs\UBA-UnrealPak-Win64-Development.txt Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'GameplayInsights' for platform/configuration Ignoring plugin 'PythonScriptPlugin' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'BaseCharacterFXEditor' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'GPUReshape' due to unsupported platform in plugin descriptor Ignoring plugin 'PixWinPlugin' due to unsupported platform in plugin descriptor Ignoring plugin 'ProjectLauncher' due to unsupported platform in plugin descriptor Ignoring plugin 'XCodeSourceCodeAccess' due to unsupported platform in plugin descriptor Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'Interchange' due to unsupported platform Ignoring plugin 'PlanarCut' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'LowLevelNetTrace' due to unsupported platform in plugin descriptor Ignoring plugin 'NFORDenoise' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'InterchangeEditor' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' due to unsupported platform in plugin descriptor Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'InterchangeEditor' for platform/configuration Ignoring plugin 'NNEDenoiser' due to unsupported platform in plugin descriptor Ignoring plugin 'OnlineSubsystemIOS' due to unsupported platform in plugin descriptor Ignoring plugin 'MsQuic' due to unsupported platform in plugin descriptor Ignoring plugin 'XInputDevice' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'UbaController' due to unsupported platform in plugin descriptor Ignoring plugin 'PythonScriptPlugin' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'BaseCharacterFXEditor' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'GameplayInsights' for platform/configuration Ignoring plugin 'GPUReshape' due to unsupported platform in plugin descriptor Ignoring plugin 'PixWinPlugin' due to unsupported platform in plugin descriptor Ignoring plugin 'ProjectLauncher' due to unsupported platform in plugin descriptor Ignoring plugin 'XCodeSourceCodeAccess' due to unsupported platform in plugin descriptor Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'Interchange' due to unsupported platform Ignoring plugin 'PlanarCut' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'LowLevelNetTrace' due to unsupported platform in plugin descriptor Ignoring plugin 'NFORDenoise' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'InterchangeEditor' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' due to unsupported platform in plugin descriptor Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'InterchangeEditor' for platform/configuration Ignoring plugin 'NNEDenoiser' due to unsupported platform in plugin descriptor Ignoring plugin 'OnlineSubsystemIOS' due to unsupported platform in plugin descriptor Ignoring plugin 'MsQuic' due to unsupported platform in plugin descriptor Ignoring plugin 'XInputDevice' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'UbaController' due to unsupported platform in plugin descriptor Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'GameplayInsights' for platform/configuration Ignoring plugin 'PythonScriptPlugin' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'BaseCharacterFXEditor' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'GPUReshape' due to unsupported platform in plugin descriptor Ignoring plugin 'PixWinPlugin' due to unsupported platform in plugin descriptor Ignoring plugin 'ProjectLauncher' due to unsupported platform in plugin descriptor Ignoring plugin 'XCodeSourceCodeAccess' due to unsupported platform in plugin descriptor Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'Interchange' due to unsupported platform Ignoring plugin 'PlanarCut' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'LowLevelNetTrace' due to unsupported platform in plugin descriptor Ignoring plugin 'NFORDenoise' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'InterchangeEditor' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' due to unsupported platform in plugin descriptor Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'InterchangeEditor' for platform/configuration Ignoring plugin 'NNEDenoiser' due to unsupported platform in plugin descriptor Ignoring plugin 'OnlineSubsystemIOS' due to unsupported platform in plugin descriptor Ignoring plugin 'MsQuic' due to unsupported platform in plugin descriptor Ignoring plugin 'XInputDevice' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'UbaController' due to unsupported platform in plugin descriptor Ignoring plugin 'PythonScriptPlugin' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'BaseCharacterFXEditor' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'ModelingToolsEditorMode' for platform/configuration Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'GameplayInsights' for platform/configuration Ignoring plugin 'GPUReshape' due to unsupported platform in plugin descriptor Ignoring plugin 'PixWinPlugin' due to unsupported platform in plugin descriptor Ignoring plugin 'ProjectLauncher' due to unsupported platform in plugin descriptor Ignoring plugin 'XCodeSourceCodeAccess' due to unsupported platform in plugin descriptor Ignoring plugin 'ContentBrowserFileDataSource' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'Interchange' due to unsupported platform Ignoring plugin 'PlanarCut' for platform/configuration Ignoring plugin 'MeshModelingToolsetExp' for platform/configuration Ignoring plugin 'LowLevelNetTrace' due to unsupported platform in plugin descriptor Ignoring plugin 'NFORDenoise' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'EOSShared' for platform/configuration Ignoring plugin 'InterchangeEditor' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' due to unsupported platform in plugin descriptor Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MediaPlayerEditor' for platform/configuration Ignoring plugin 'MeshModelingToolset' for platform/configuration Ignoring plugin 'InterchangeEditor' for platform/configuration Ignoring plugin 'NNEDenoiser' due to unsupported platform in plugin descriptor Ignoring plugin 'OnlineSubsystemIOS' due to unsupported platform in plugin descriptor Ignoring plugin 'MsQuic' due to unsupported platform in plugin descriptor Ignoring plugin 'XInputDevice' due to unsupported platform in plugin descriptor Ignoring plugin 'Interchange' for platform/configuration Ignoring plugin 'UbaController' due to unsupported platform in plugin descriptor Creating makefile for UnrealPak (no existing makefile) Compiling C:\Users\30297\Documents\Unreal Projects\cust\Intermediate\Build\BuildRules\custModuleRules.dll: Assembly does not exist Found VisualStudio2022 installation: C:\Program Files\Microsoft Visual Studio\2022\Enterprise (Product=Microsoft.VisualStudio.Product.Enterprise, Version=17.14.36414.22) Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133 (Family=14.29.30133, FamilyRank=1, Version=14.29.30159, HostArchitecture=x64, ReleaseChannel=Latest, Architecture=x64, Error=True, Redist=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.29.30133) Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.38.33130 (Family=14.38.33130, FamilyRank=1, Version=14.38.33145, HostArchitecture=x64, ReleaseChannel=Latest, Architecture=x64, Error=False, Redist=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.38.33130) Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=0, Version=14.44.35215, HostArchitecture=x64, ReleaseChannel=Latest, Architecture=x64, Error=False, Redist=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.44.35112) Building UnrealPak - UnrealPak - Win64 - Development Compiler: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\cl.exe Linker: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\link.exe Library Manager: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\link.exe Resource Compiler: C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\rc.exe Using EngineIncludeOrderVersion.Unreal5_7 for target UnrealPak.Target.cs UHT compiled-in object format Default Parsing headers for UnrealPak Running Internal UnrealHeaderTool "C:\Users\30297\Documents\Unreal Projects\cust\cust.uproject" "C:\Users\30297\Documents\Unreal Projects\cust\Intermediate\Build\Win64\UnrealPak\Development\UnrealPak.uhtmanifest" -WarningsAsErrors Step - Exports Exporter Stats skipped Exporter Json skipped Running exporter CodeGen UHT processed UnrealPak in 0.8970429 seconds (0 files written) Found 3 shared PCH headers (listed in order of preference): Slate CoreUObject Core VerseVMBytecodeGenerator.Generate, generating CPP headers in: 'C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\Build\Win64\UnrealPak\Inc\CoreUObject\VerseVMBytecode' Writing out generated header file. Changed:False Path:'C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\Build\Win64\UnrealPak\Inc\CoreUObject\VerseVMBytecode\VVMBytecodeOps.gen.h' Writing out generated header file. Changed:False Path:'C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\Build\Win64\UnrealPak\Inc\CoreUObject\VerseVMBytecode\VVMBytecodesAndCaptures.gen.h' Writing out generated header file. Changed:False Path:'C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\Build\Win64\UnrealPak\Inc\CoreUObject\VerseVMBytecode\VVMMakeCapturesFuncs.gen.h' Writing out generated header file. Changed:False Path:'C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Intermediate\Build\Win64\UnrealPak\Inc\CoreUObject\VerseVMBytecode\VVMCaptureSwitch.gen.h' Creating makefile for cust (no existing makefile) Platform Android is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc). BuildException: Platform Android is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc). at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, UnrealIntermediateEnvironment IntermediateEnvironment, ILogger Logger) in C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1264 at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, BuildConfiguration BuildConfiguration, ILogger Logger) in C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1221 at UnrealBuildTool.BuildMode.CreateMakefileAsync(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet, ILogger Logger) in C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 1137 at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets, String ActionTypeFilter) in C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 402 at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 253 at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in C:\ue\UnrealEngine-release\UnrealEngine-release\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 653 WriteFileIfChanged() wrote 0 changed files of 856 requested writes. Result: Failed (OtherCompilationError) Total execution time: 8.74 seconds
最新发布
12-17
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值