Azure管道vcpkg安装输出“获取规范化错误”

时间:2020-09-18 08:44:47

标签: azure vcpkg

我正在尝试使vcpkg使用azure管道(azure-pipelines.yml)安装软件包

- script: git submodule update --init vcpkg
  displayName: Checkout vcpkg submodule
- script: .\vcpkg\bootstrap-vcpkg.bat
  displayName: Bootstrap vcpkg
- script: .\vcpkg\vcpkg.exe install grpc
  displayName: vcpkg install grpc

我在最后一个脚本(.\vcpkg\vcpkg.exe install grpc)上遇到以下错误:

Starting: vcpkg install grpc
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.164.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
Script contents:
.\vcpkg\vcpkg.exe install grpc
========================== Starting Command Output ===========================
"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\558be028-1311-4d58-bec5-de4d14ebe1bb.cmd""
Error getting canonicalization of D:\a\1\s\ports: The system cannot find the file specified.
##[error]Cmd.exe exited with code '1'.
Finishing: vcpkg install grpc

可能是什么问题?我该如何调试?

0 个答案:

没有答案
相关问题