Replies: 1 comment
-
解决了,将X:\explorerplusplus\Explorer++\ThirdParty目录下的vcpkg改为主分支,而不是vcpkg安装目录下的vcpkg。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这是错误提示:
严重性 代码 说明 项目 文件 行 禁止显示状态 详细信息
错误 MSB3073 命令“"I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\vcpkg.exe" install --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\" "--x-manifest-root=I:\explorerplusplus\" "--x-install-root=I:\explorerplusplus\vcpkg_installed\x64-windows-static\" ”已退出,代码为 1。 Explorer++ I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets 183
这是输出窗口的提示:
3>CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
3>
3>I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets(183,5): warning : Failed to download file with error: 1
3> If you are using a proxy, please check your proxy setting. Possible causes are:
3>
3> 1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
3> to
https://address:port
. This is not correct, becausehttps://
prefix3> claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
3> , etc..) is an HTTP proxy. Try setting
http://address:port
to both3> HTTP_PROXY and HTTPS_PROXY instead.
3>
3> 2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
3> set by your proxy software. See microsoft/vcpkg-tool#77
3> The value set by your proxy might be wrong, or have same
https://
prefix issue.3>
3> 3. Your proxy's remote server is out of service.
3>
3> If you've tried directly download the link, and believe this is not a temporary
3> download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
3> to report this upstream download server failure.
3>
3>
3>Call Stack (most recent call first):
3> scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
3> scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile)
3> scripts/cmake/vcpkg_acquire_msys.cmake:124 (z_vcpkg_acquire_msys_download_package)
3> scripts/cmake/vcpkg_find_acquire_program(PKGCONFIG).cmake:22 (vcpkg_acquire_msys)
3> scripts/cmake/vcpkg_find_acquire_program.cmake:118 (include)
3> scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquire_program)
3> buildtrees/versioning_/versions/cli11/47f8293bf52200e08a166ac4e22bee925d63f04a/portfile.cmake:20 (vcpkg_fixup_pkgconfig)
3> scripts/ports.cmake:147 (include)
3>
3>
3>错误:生成 cli11:x64-windows-static 失败,结果为: BUILD_FAILED
3>请确保使用具有“git pull” 和 “vcpkg update”的最新端口文件。
3>然后,在以下位置查看已知问题:
3> https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+cli11
3>可在以下位置提交新问题:
3> https://github.com/microsoft/vcpkg/issues/new?title=[cli11]+Build+error&body=Copy+issue+body+from+I%3A%2Fexplorerplusplus%2Fvcpkg_installed%2Fx64-windows-static%2Fvcpkg%2Fissue_body.md
3>
3>I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets(183,5): error MSB3073: 命令“"I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\vcpkg.exe" install --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "I:\explorerplusplus\Explorer++\ThirdParty\vcpkg\" "--x-manifest-root=I:\explorerplusplus\" "--x-install-root=I:\explorerplusplus\vcpkg_installed\x64-windows-static\" ”已退出,代码为 1。
3>已完成生成项目“TestExplorer++.vcxproj”的操作 - 失败。
========== “全部重新生成”: 0 成功,3 失败,0已跳过 ==========
========== 重新生成 于 12:39 完成,耗时 01:10.944 分钟 ==========
请教如何解决?
Beta Was this translation helpful? Give feedback.
All reactions