Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chenhee opened this issue Jun 28, 2024 · 5 comments
Open

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

chenhee opened this issue Jun 28, 2024 · 5 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@chenhee
Copy link

chenhee commented Jun 28, 2024

Package: boost-cobalt:[email protected]#2

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.24.28322.0
  • vcpkg-tool version: 2024-06-10-02590c430e4ed9215d27870138c2e579cc338772
    vcpkg-scripts version: e3ad383 2024-06-27 (10 hours ago)

To Reproduce

vcpkg install boost

Failure logs

-- Using cached boostorg-cobalt-boost-1.85.0.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/boostorg-cobalt-boost-1.85.0.tar.gz
-- Using source at D:/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j17
    Working Directory: D:/vcpkg/buildtrees/boost-cobalt/x64-windows-dbg
    See logs for more information:
      D:\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-out.log
      D:\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:192 (include)



D:\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-err.log
ninja: error: unknown target 'install'
D:\vcpkg\buildtrees\boost-cobalt\install-x64-windows-dbg-out.log
Change Dir: 'D:/vcpkg/buildtrees/boost-cobalt/x64-windows-dbg'

Run Build Command(s): D:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v -v -j17 install
@Cheney-W Cheney-W self-assigned this Jun 28, 2024
@Cheney-W Cheney-W added the requires:repro The issue is not currently repro-able label Jun 28, 2024
@Cheney-W
Copy link
Contributor

I can't reproduce this issue in my side with the latest vcpkg.
image

@abhcs
Copy link

abhcs commented Jul 23, 2024

I get the same error in a similar environment:

"boost-cobalt": {
      "name": "boost-cobalt",
      "version": "1.85.0",
      "port-version": 2,
...}

"os": {
    "name": "Windows 11 Enterprise",
    "version": 23H2
    "build": 22631.3155
}

"compiler":  "Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86"

"vcpkg": {
    "version": "2024-07-10-d2dfc73769081bdd9b782d08d27794780b7a99b9"
}

@seedmonn
Copy link

seedmonn commented Aug 1, 2024

i have the same issue, someone knows how to fix?

UPD: Need to install VS2022

@greenozon
Copy link

greenozon commented Aug 6, 2024

Boost Cobalt lib has prerequisites located in CheckRequirements.cmake file

you need a MSVC compiler of version >= 19.30

if(MSVC_VERSION AND MSVC_VERSION LESS 1930)
    message(STATUS "Boost.Cobalt: not building, the lowest supported MSVC version is 1930.  ${MSVC_VERSION} is not supported")
    return()
endif()

@dg0yt
Copy link
Contributor

dg0yt commented Aug 6, 2024

#40290 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

6 participants