microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.03k stars 6.36k forks source link

[abseil] Build error on x64-windows (insufficient resource) ? #39182

Closed AlangabSistemi closed 1 month ago

AlangabSistemi commented 4 months ago

C:\Users\pierotti\source\repos\grcp1>vcpkg install Detecting compiler hash for triplet x64-windows... Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe The following packages will be built and installed:

error: building abseil:x64-windows failed with: BUILD_FAILED Elapsed time to handle abseil:x64-windows: 2.9 min 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+abseil You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[abseil]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Fpierotti%2Fsource%2Frepos%2Fgrcp1%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.mdCopy issue body from C:/Users/pierotti/source/repos/grcp1/vcpkg_installed/vcpkg/issue_body.md

dg0yt commented 4 months ago

Please update and upgrade. This is a variant of https://github.com/microsoft/vcpkg/issues/37213. That bug was hard to track down, but was finally fixed in https://github.com/microsoft/vcpkg/pull/38239.

AlangabSistemi commented 4 months ago

I use manifest mode. And i get this message: vcpkg update the update command does not currently support manifest mode. Instead, modify your vcpkg.json and run install.note: updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.

C:\Users\pierotti\source\repos\grcp1>vcpkg upgrade error: Upgrade upgrades a classic mode installation and thus does not support manifest mode. Consider updating your dependencies by updating your baseline to a current value with vcpkg x-update-baseline and running vcpkg install.

This is the path of vcpkg C:\Users\pierotti\source\repos\grcp1>where vcpkg C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\vcpkg\vcpkg.exe

Da: Kai Pastor @.> Inviato: venerdì 7 giugno 2024 15:32 A: microsoft/vcpkg @.> Cc: Pierotti Alberto @.>; Author @.> Oggetto: Re: [microsoft/vcpkg] [abseil] Build error on x64-windows (insufficient resource) ? (Issue #39182)

Please update and upgrade. This is a variant of #37213https://github.com/microsoft/vcpkg/issues/37213. That bug was hard to track down, but was finally fixed in #38239https://github.com/microsoft/vcpkg/pull/38239.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vcpkg/issues/39182#issuecomment-2154848567, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEVOUNNMG6BIQUWT3E25CJLZGGY6RAVCNFSM6AAAAABI6VATMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJUHA2DQNJWG4. You are receiving this because you authored the thread.Message ID: @.**@.>>

SISTEMI S.p.A. | P.I. 08245660017 | Per consultare la nostra informativa privacy vi invitiamo a visitare il sito alla pagina www.sistemi.com/privacy https://www.sistemi.com/privacy

autoantwort commented 4 months ago

use git pull to update

WangWeiLin-MV commented 4 months ago

Please try with latest vcpkg.

If the issue persists, please see #30604 for how to report a build failure.

gottacodeemall commented 4 months ago

Still facing this issue with the latest baseline: b27651341123a59f7187b42ef2bc476284afb310 Created a new issue at https://github.com/microsoft/vcpkg/issues/39221

dg0yt commented 4 months ago

@gottacodeemall Did you git pull from master? https://github.com/microsoft/vcpkg/issues/39221#issuecomment-2161078097

AlangabSistemi commented 4 months ago

for sake of completeness, i do the following to partial resolve:

after doing this, my project with vcpkg manifest can build in x86 release&debug , in x64 release BUT not in 64 debug mode! The error is: 1> [CMake] CMake Error at C:\Users\pierotti\source\repos\grcp1\CMakeLists.txt:19 (find_package): 1> [CMake] Could not find a package configuration file provided by "gRPC" with any of 1> [CMake] the following names: 1> [CMake] 1> [CMake] gRPCConfig.cmake 1> [CMake] grpc-config.cmake

in release mode cmake works fine

dg0yt commented 3 months ago

For classic mode, did you run vcpkg upgrade [--no-dry-run]?

github-actions[bot] commented 2 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.