ITADN

"Abnormal exit with child return code: Exit code 0xc0000135"

#1942Opengvanem 创建于 2026-03-14
G
gvanemcommented
Since `libcurl.dll` has become a requirement, this tool has gone from bad to worse. E.g. in a command like this `vcpkg install portaudio:x64-windows-static --debug`, gives me this: ``` ... PATH=f:\gv\VC_2026\VC\Tools\MSVC\14.50.35717\bin\HostX64\x64; ... .... [DEBUG] 1007: CreateProcessW("f:\gv\VC_2026\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DCURRENT_PORT_DIR=F:/gv/VC_pr oject/VCPKG/scripts/detect_compiler -DCURRENT_BUILDTREES_DIR=F:/gv/VC_project/VCPKG/buildtrees/detect_compiler -DCURRENT_PACKAGES_DIR=F:/gv/ VC_project/VCPKG/packages/detect_compiler_x64-windows-static -D_HOST_TRIPLET=x64-windows-static -DVCPKG_COMPILER_CACHE_FILE=F:/gv/VC_project /VCPKG/installed/vcpkg/compiler-file-hash-cache.json -DZ_VCPKG_CHAINLOAD_TOOLCHAIN_FILE=F:/gv/VC_project/VCPKG/scripts/toolchains/windows.cm ake -DCMD=BUILD -DDOWNLOADS=F:/gv/VC_project/VCPKG/downloads -DTARGET_TRIPLET=x64-windows-static -DTARGET_TRIPLET_FILE=F:/gv/VC_project/VCPK G/triplets/x64-windows-static.cmake -DVCPKG_BASE_VERSION=2026-03-14 -DVCPKG_CONCURRENCY=25 -DVCPKG_PLATFORM_TOOLSET=v145 -DGIT=f:/ProgramFil er/Git-2/cmd/git.exe -DVCPKG_ROOT_DIR=F:/gv/VC_project/VCPKG -DPACKAGES_DIR=F:/gv/VC_project/VCPKG/packages -DBUILDTREES_DIR=F:/gv/VC_projec t/VCPKG/buildtrees -D_VCPKG_INSTALLED_DIR=F:/gv/VC_project/VCPKG/installed -DDOWNLOADS=F:/gv/VC_project/VCPKG/downloads -DVCPKG_MANIFEST_INS TALL=OFF -P "F:\gv\VC_project\VCPKG\scripts\ports.cmake") [DEBUG] CMake Error at scripts/cmake/vcpkg_execute_in_download_mode.cmake:29 (execute_process): [DEBUG] execute_process failed command indexes: [DEBUG] [DEBUG] 1: "Abnormal exit with child return code: Exit code 0xc0000135" [DEBUG] [DEBUG] Call Stack (most recent call first): [DEBUG] scripts/cmake/vcpkg_execute_in_download_mode.cmake:29 (cmake_language) [DEBUG] scripts/cmake/vcpkg_find_acquire_program.cmake:110 (vcpkg_execute_in_download_mode) [DEBUG] scripts/cmake/vcpkg_find_acquire_program(NINJA).cmake:1 (z_use_vcpkg_fetch) [DEBUG] scripts/cmake/vcpkg_find_acquire_program.cmake:144 (include) [DEBUG] scripts/cmake/vcpkg_configure_cmake.cmake:150 (vcpkg_find_acquire_program) [DEBUG] scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake) [DEBUG] scripts/ports.cmake:206 (include) [DEBUG] [DEBUG] [DEBUG] 1007: cmd_execute_and_stream_data() returned 1 after 1500509 us [DEBUG] Compiler information tracking can be disabled by passing --feature-flags=-compilertracking error: while detecting compiler information: The log file content at "F:\gv\VC_project\VCPKG\buildtrees\detect_compiler\stdout-x64-windows-static.log" is: ``` It took me a while to figure out the real reason was it failed to find the OpenSSL .DLLs. Since the vcpkg tool uses a private `PATH` that does **not** include those OpenSSL .DLLs. So IMHO the error message should be improved; or `libcurl.dll` could be verified with (`LoadLibrary()` etc.). Not this totally unrelated mumbo-jumbo messages. above.
0 条评论