microsoft / vcpkg

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

[boost-cobalt] Build error on x64-windows #39495

Open dingjun6953 opened 4 months ago

dingjun6953 commented 4 months ago

Package: boost-cobalt:x64-windows@1.85.0#2

Host Environment

To Reproduce

vcpkg install boost-cobalt

Failure logs

-- Using cached boostorg-cobalt-boost-1.85.0.tar.gz.
-- Cleaning sources at C:/dev/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/boostorg-cobalt-boost-1.85.0.tar.gz
-- Using source at C:/dev/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j21
    Working Directory: C:/dev/vcpkg/buildtrees/boost-cobalt/x64-windows-dbg
    See logs for more information:
      C:\dev\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-out.log
      C:\dev\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-err.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  installed/x64-windows/share/vcpkg-boost/boost-install.cmake:65 (vcpkg_cmake_install)
  ports/boost-cobalt/portfile.cmake:12 (boost_configure_and_install)
  scripts/ports.cmake:191 (include)
C:\dev\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-err.log ``` ninja: error: unknown target 'install' ```
C:\dev\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-out.log ``` Change Dir: 'C:/dev/vcpkg/buildtrees/boost-cobalt/x64-windows-dbg' Run Build Command(s): "C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j21 install ```
JonLiu1993 commented 4 months ago

Your version of VS2019 compiler is too low, upgraded VS2022 to fix the problem.

github-actions[bot] commented 3 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.

dg0yt commented 2 months ago

https://github.com/microsoft/vcpkg/issues/40290#issuecomment-2269639431