Open Minecraft-vIIr opened 3 weeks ago
Do not use the CMake release candidate.
(BTW is this still rc2 or already rc3?)
I've reinstalled CMake latest release (3.30.5)
F:\Program Source\vcpkg>cmake --version
cmake version 3.30.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
and reinstalled vcpkg
F:\Program Source>git clone https://github.com/microsoft/vcpkg.git
Cloning into 'vcpkg'...
remote: Enumerating objects: 252425, done.
remote: Counting objects: 100% (11016/11016), done.
remote: Compressing objects: 100% (259/259), done.
remote: Total 252425 (delta 10911), reused 10770 (delta 10757), pack-reused 241409 (from 1)
Receiving objects: 100% (252425/252425), 77.82 MiB | 9.98 MiB/s, done.
Resolving deltas: 100% (166332/166332), done.
Updating files: 100% (11770/11770), done.
F:\Program Source>cd vcpkg && bootstrap-vcpkg.bat
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2024-10-18/vcpkg.exe -> F:\Program Source\vcpkg\vcpkg.exe... done.
Validating signature... done.
vcpkg package management program version 2024-10-18-e392d7347fe72dff56e7857f7571c22301237ae6
See LICENSE.txt for license information.
Telemetry
---------
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.
Read more about vcpkg telemetry at docs/about/privacy.md
but then I got the same error
F:\Program Source\vcpkg>vcpkg install async-mqtt
Computing installation plan...
The following packages will be built and installed:
async-mqtt[core,tls]:x64-windows@9.0.2
* boost-algorithm:x64-windows@1.86.0
* boost-align:x64-windows@1.86.0
* boost-any:x64-windows@1.86.0
* boost-array:x64-windows@1.86.0
* boost-asio:x64-windows@1.86.0
* boost-assert:x64-windows@1.86.0
* boost-atomic:x64-windows@1.86.0
* boost-beast:x64-windows@1.86.0
* boost-bind:x64-windows@1.86.0
* boost-chrono:x64-windows@1.86.0
* boost-cmake:x64-windows@1.86.0
* boost-concept-check:x64-windows@1.86.0
* boost-config:x64-windows@1.86.0
* boost-container:x64-windows@1.86.0
* boost-container-hash:x64-windows@1.86.0
* boost-context:x64-windows@1.86.0
* boost-conversion:x64-windows@1.86.0
* boost-core:x64-windows@1.86.0
* boost-coroutine:x64-windows@1.86.0
* boost-date-time:x64-windows@1.86.0
* boost-describe:x64-windows@1.86.0
* boost-detail:x64-windows@1.86.0
* boost-dynamic-bitset:x64-windows@1.86.0
* boost-endian:x64-windows@1.86.0
* boost-exception:x64-windows@1.86.0
* boost-filesystem:x64-windows@1.86.0
* boost-function:x64-windows@1.86.0
* boost-function-types:x64-windows@1.86.0
* boost-functional:x64-windows@1.86.0
* boost-fusion:x64-windows@1.86.0
* boost-hana:x64-windows@1.86.0
* boost-headers:x64-windows@1.86.0
* boost-integer:x64-windows@1.86.0
* boost-interprocess:x64-windows@1.86.0
* boost-intrusive:x64-windows@1.86.0
* boost-io:x64-windows@1.86.0
* boost-iterator:x64-windows@1.86.0
* boost-lexical-cast:x64-windows@1.86.0
* boost-log:x64-windows@1.86.0
* boost-logic:x64-windows@1.86.0
* boost-move:x64-windows@1.86.0
* boost-mp11:x64-windows@1.86.0
* boost-mpl:x64-windows@1.86.0
* boost-multi-index:x64-windows@1.86.0
* boost-numeric-conversion:x64-windows@1.86.0
* boost-optional:x64-windows@1.86.0
* boost-parameter:x64-windows@1.86.0
* boost-phoenix:x64-windows@1.86.0
* boost-pool:x64-windows@1.86.0
* boost-predef:x64-windows@1.86.0
* boost-preprocessor:x64-windows@1.86.0
* boost-property-tree:x64-windows@1.86.0
* boost-proto:x64-windows@1.86.0
* boost-random:x64-windows@1.86.0
* boost-range:x64-windows@1.86.0
* boost-ratio:x64-windows@1.86.0
* boost-regex:x64-windows@1.86.0
* boost-scope:x64-windows@1.86.0
* boost-serialization:x64-windows@1.86.0
* boost-smart-ptr:x64-windows@1.86.0
* boost-spirit:x64-windows@1.86.0
* boost-static-assert:x64-windows@1.86.0
* boost-static-string:x64-windows@1.86.0
* boost-system:x64-windows@1.86.0
* boost-thread:x64-windows@1.86.0
* boost-throw-exception:x64-windows@1.86.0
* boost-tokenizer:x64-windows@1.86.0
* boost-tuple:x64-windows@1.86.0
* boost-type-index:x64-windows@1.86.0
* boost-type-traits:x64-windows@1.86.0
* boost-typeof:x64-windows@1.86.0
* boost-uninstall:x64-windows@1.86.0
* boost-unordered:x64-windows@1.86.0
* boost-utility:x64-windows@1.86.0
* boost-variant:x64-windows@1.86.0
* boost-variant2:x64-windows@1.86.0
* boost-winapi:x64-windows@1.86.0
* boost-xpressive:x64-windows@1.86.0
* openssl:x64-windows@3.4.0
* vcpkg-boost:x64-windows@2024-05-15
* vcpkg-cmake:x64-windows@2024-04-23
* vcpkg-cmake-config:x64-windows@2024-05-23
* vcpkg-cmake-get-vars:x64-windows@2024-09-22
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
A suitable version of powershell-core was not found (required v7.2.23).
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/PowerShell-7.2.23-win-x64.zip
Extracting powershell-core...
A suitable version of 7zip was not found (required v24.8.0).
Downloading https://github.com/ip7z/7zip/releases/download/24.08/7z2408-extra.7z
Extracting 7zip...
A suitable version of 7zr was not found (required v24.8.0).
Downloading https://github.com/ip7z/7zip/releases/download/24.08/7zr.exe
Compiler found: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\vIIr\AppData\Local\vcpkg\archives in 9.13 ms. Use --debug to see more details.
Installing 1/84 boost-uninstall:x64-windows@1.86.0...
Building boost-uninstall:x64-windows@1.86.0...
--
Please use the following command when you need to remove all boost ports/components:
"./vcpkg remove boost-uninstall:x64-windows --recurse"
-- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
Stored binaries in 1 destinations in 82.3 ms.
Elapsed time to handle boost-uninstall:x64-windows: 243 ms
boost-uninstall:x64-windows package ABI: adf45c74ef0fa4f500130c18e567ab1b5c370acf4174541ac722f2eede0d823f
Installing 2/84 vcpkg-boost:x64-windows@2024-05-15...
Building vcpkg-boost:x64-windows@2024-05-15...
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-boost_x64-windows/share/vcpkg-boost/usage.in
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-boost_x64-windows/share/vcpkg-boost/boost-install.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-boost_x64-windows/share/vcpkg-boost/vcpkg-port-config.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-boost_x64-windows/share/vcpkg-boost/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 81.9 ms.
Elapsed time to handle vcpkg-boost:x64-windows: 262 ms
vcpkg-boost:x64-windows package ABI: f41907e6633362d70a84f3f903b11f53fe4060e6ee6cb4c43c5fb7ce6226eb18
Installing 3/84 vcpkg-cmake:x64-windows@2024-04-23...
Building vcpkg-cmake:x64-windows@2024-04-23...
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 76.2 ms.
Elapsed time to handle vcpkg-cmake:x64-windows: 250 ms
vcpkg-cmake:x64-windows package ABI: 5695200ff20815ffdc875ce55109e045d1c0a94bd1bb533137df460568982d1d
Installing 4/84 vcpkg-cmake-config:x64-windows@2024-05-23...
Building vcpkg-cmake-config:x64-windows@2024-05-23...
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
-- Installing: F:/Program Source/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
-- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
Stored binaries in 1 destinations in 95 ms.
Elapsed time to handle vcpkg-cmake-config:x64-windows: 271 ms
vcpkg-cmake-config:x64-windows package ABI: 86623df1da8b80a6a69738bf7cf50a0358928a0d56431a67d88a984b584ed535
Installing 5/84 boost-cmake:x64-windows@1.86.0...
Building boost-cmake:x64-windows@1.86.0...
-- Downloading https://github.com/boostorg/boost/archive/boost-1.86.0.tar.gz -> boostorg-boost-boost-1.86.0.tar.gz...
-- Extracting source F:/Program Source/vcpkg/downloads/boostorg-boost-boost-1.86.0.tar.gz
-- Using source at F:/Program Source/vcpkg/buildtrees/boost-cmake/src/ost-1.86.0-da01bebc44.clean
-- Downloading https://github.com/boostorg/cmake/archive/boost-1.86.0.tar.gz -> boostorg-cmake-boost-1.86.0.tar.gz...
-- Extracting source F:/Program Source/vcpkg/downloads/boostorg-cmake-boost-1.86.0.tar.gz
-- Applying patch vcpkg-build.diff
-- Applying patch fix-mpi.diff
-- Applying patch no-prefix.diff
-- Applying patch no-config-suffix.diff
-- Applying patch no-honor-static.diff
-- Applying patch add-optional-deps.diff
-- Using source at F:/Program Source/vcpkg/buildtrees/boost-cmake/src/ost-1.86.0-196b676d9e.clean
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost-cmake/usage
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Up-to-date: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostFetch.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostInstall.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostMessage.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostRoot.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostTest.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost/cmake-build/BoostTestJamfile.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost-cmake/vcpkg-port-config.cmake
-- Installing: F:/Program Source/vcpkg/packages/boost-cmake_x64-windows/share/boost-cmake/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 74.8 ms.
Elapsed time to handle boost-cmake:x64-windows: 5.7 s
boost-cmake:x64-windows package ABI: da0ea049be11fe61f8a3ad4c19959b6ce27f0af46c372af4bf20c5e87b659ca4
Installing 6/84 boost-headers:x64-windows@1.86.0...
Building boost-headers:x64-windows@1.86.0...
-- Downloading https://github.com/boostorg/headers/archive/boost-1.86.0.tar.gz -> boostorg-headers-boost-1.86.0.tar.gz...
-- Extracting source F:/Program Source/vcpkg/downloads/boostorg-headers-boost-1.86.0.tar.gz
-- Using source at F:/Program Source/vcpkg/buildtrees/boost-headers/src/ost-1.86.0-7dc5ae651a.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
Working Directory: F:/Program Source/vcpkg/buildtrees/boost-headers/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
F:\Program Source\vcpkg\buildtrees\boost-headers\config-x64-windows-rel-CMakeCache.txt.log
F:\Program Source\vcpkg\buildtrees\boost-headers\config-x64-windows-rel-CMakeConfigureLog.yaml.log
F:\Program Source\vcpkg\buildtrees\boost-headers\config-x64-windows-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
installed/x64-windows/share/vcpkg-boost/boost-install.cmake:55 (vcpkg_cmake_configure)
ports/boost-headers/portfile.cmake:12 (boost_configure_and_install)
scripts/ports.cmake:192 (include)
error: building boost-headers:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle boost-headers:x64-windows: 3.8 s
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+boost-headers
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[boost-headers]+Build+error+on+x64-windows&body=Copy+issue+body+from+F%3A%2FProgram%20Source%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Sorry but im new to C++
Operating system
Windows
Compiler
No response
Steps to reproduce the behavior
Failure logs
I got the following error when I runned
vcpkg install async-mqtt
Additional context
No response