Closed fuhongcui closed 7 months ago
What exactly are you fixing here? Cemu already builds on Windows.
What exactly are you fixing here? Cemu already builds on Windows.
The submodule vcpkg version in the current code has dependencies on libraries that are no longer present on the server.
` D:\CFH\code\build-test\Cemu\build>cmake .. -- Running vcpkg install Detecting compiler hash for triplet x64-windows-static... -- Using HTTP(S)_PROXY in environment variables. Detecting compiler hash for triplet x64-windows... The following packages will be built and installed:
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
Failed to download file with error: 1
If you are using a proxy, please check your proxy setting. Possible causes are:
1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
to `https://address:port`. This is not correct, because `https://` prefix
claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
, etc..) is an HTTP proxy. Try setting `http://address:port` to both
HTTP_PROXY and HTTPS_PROXY instead.
2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
The value set by your proxy might be wrong, or have same `https://` prefix issue.
3. Your proxy's remote server is out of service.
If you've tried directly download the link, and believe this is not a temporary
download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
to report this upstream download server failure.
Call Stack (most recent call first): scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail) scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile) scripts/cmake/vcpkg_acquire_msys.cmake:124 (z_vcpkg_acquire_msys_download_package) scripts/cmake/vcpkg_find_acquire_program.cmake:533 (vcpkg_acquire_msys) scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquireprogram) buildtrees/versioning/versions/openssl/179a1ad3f5a5bbcb77f2e00688e4c467f03d4311/install-pc-files.cmake:32 (vcpkg_fixuppkgconfig) buildtrees/versioning/versions/openssl/179a1ad3f5a5bbcb77f2e00688e4c467f03d4311/portfile.cmake:63 (include) scripts/ports.cmake:147 (include)
error: building openssl:x64-windows-static failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with git pull
and vcpkg update
.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openssl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[openssl]+Build+error
Include '[openssl] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454
vcpkg-scripts version: b81bc3a83 2023-03-24 (9 months ago)
Please use the prefilled template from D:\CFH\code\build-test\Cemu\build\vcpkg_installed\vcpkg\issue_body.md when reporting your issue. -- Running vcpkg install - failed CMake Error at dependencies/vcpkg/scripts/buildsystems/vcpkg.cmake:892 (message): vcpkg install failed. See logs for more information: D:\CFH\code\build-test\Cemu\build\vcpkg-manifest-install.log Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:35 (project)
-- Configuring incomplete, errors occurred! `
Ah, i see, this probably only affects mingw builds then, but not msvc builds - i just built cemu just fine with msvc without any failures.
Ah, i see, this probably only affects mingw builds then, but not msvc builds - i just built cemu just fine with msvc without any failures.
It does in fact affect MSVC use. Building may be fine, CMake configuration is not, because the vcpkg download keeps failing. You probably already have the dependency downloaded from an earlier configuration
Ah, i see, this probably only affects mingw builds then, but not msvc builds - i just built cemu just fine with msvc without any failures.
It does in fact affect MSVC use.
Building may be fine, CMake configuration is not, because the vcpkg download keeps failing. You probably already have the dependency downloaded from an earlier configuration
Yes, that's the issue I've encountered.
Superseded by #1064
update vcpkg for windows build