Closed shuaigeGoku closed 3 months ago
Please provide the error log. @shuaigeGoku
PS C:\dev\vcpkg> .\vcpkg.exe install cgal
Computing installation plan...
The following packages will be built and installed:
* boost-accumulators:x64-windows -> 1.82.0#2
* boost-algorithm:x64-windows -> 1.82.0#2
* boost-align:x64-windows -> 1.82.0#2
* boost-any:x64-windows -> 1.82.0#2
* boost-atomic:x64-windows -> 1.82.0#3
* boost-bimap:x64-windows -> 1.82.0#2
* boost-callable-traits:x64-windows -> 1.82.0#2
* boost-chrono:x64-windows -> 1.82.0#2
* boost-container:x64-windows -> 1.82.0#2
* boost-date-time:x64-windows -> 1.82.0#2
* boost-dynamic-bitset:x64-windows -> 1.82.0#2
* boost-endian:x64-windows -> 1.82.0#2
* boost-exception:x64-windows -> 1.82.0#2
* boost-filesystem:x64-windows -> 1.82.0#2
* boost-foreach:x64-windows -> 1.82.0#2
* boost-format:x64-windows -> 1.82.0#2
* boost-geometry:x64-windows -> 1.82.0#2
* boost-graph:x64-windows -> 1.82.0#2
* boost-heap:x64-windows -> 1.82.0#2
* boost-interval:x64-windows -> 1.82.0#2
* boost-intrusive:x64-windows -> 1.82.0#2
* boost-iostreams[bzip2,core,lzma,zlib,zstd]:x64-windows -> 1.82.0#2
* boost-lambda:x64-windows -> 1.82.0#2
* boost-lexical-cast:x64-windows -> 1.82.0#2
* boost-logic:x64-windows -> 1.82.0#2
* boost-math:x64-windows -> 1.82.0#2
* boost-multi-array:x64-windows -> 1.82.0#2
* boost-multi-index:x64-windows -> 1.82.0#2
* boost-multiprecision:x64-windows -> 1.82.0#2
* boost-phoenix:x64-windows -> 1.82.0#2
* boost-polygon:x64-windows -> 1.82.0#2
* boost-pool:x64-windows -> 1.82.0#2
* boost-property-map:x64-windows -> 1.82.0#2
* boost-property-tree:x64-windows -> 1.82.0#2
* boost-proto:x64-windows -> 1.82.0#2
* boost-ptr-container:x64-windows -> 1.82.0#2
* boost-qvm:x64-windows -> 1.82.0#2
* boost-random:x64-windows -> 1.82.0#2
* boost-range:x64-windows -> 1.82.0#2
* boost-ratio:x64-windows -> 1.82.0#2
* boost-rational:x64-windows -> 1.82.0#2
* boost-regex:x64-windows -> 1.82.0#2
* boost-serialization:x64-windows -> 1.82.0#2
* boost-spirit:x64-windows -> 1.82.0#2
* boost-system:x64-windows -> 1.82.0#2
* boost-thread:x64-windows -> 1.82.0#2
* boost-tokenizer:x64-windows -> 1.82.0#2
* boost-tti:x64-windows -> 1.82.0#2
* boost-type-index:x64-windows -> 1.82.0#2
* boost-ublas:x64-windows -> 1.82.0#3
* boost-units:x64-windows -> 1.82.0#2
* boost-unordered:x64-windows -> 1.82.0#2
* boost-variant:x64-windows -> 1.82.0#2
* boost-variant2:x64-windows -> 1.82.0#2
* boost-winapi:x64-windows -> 1.82.0#2
* boost-xpressive:x64-windows -> 1.82.0#2
* bzip2[core,tool]:x64-windows -> 1.0.8#5
cgal:x64-windows -> 5.6
* gmp:x64-windows -> 6.2.1#21
* liblzma:x64-windows -> 5.4.3#1
* mpfr:x64-windows -> 4.2.0#1
* vcpkg-cmake-config:x64-windows -> 2022-02-06#1
* zlib:x64-windows -> 1.2.13
* zstd:x64-windows -> 1.5.5
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
-- Automatically setting HTTP(S)_PROXY environment variables to "127.0.0.1:7890".
Restored 1 package(s) from C:\Users\李炳豪\AppData\Local\vcpkg\archives in 18.7 ms. Use --debug to see more details.
Installing 1/64 boost-regex:x64-windows...
Building boost-regex:x64-windows...
-- Using cached boostorg-regex-boost-1.82.0.tar.gz.
-- Cleaning sources at C:/dev/vcpkg/buildtrees/boost-regex/src/ost-1.82.0-aceb223f87.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/boostorg-regex-boost-1.82.0.tar.gz
-- Using source at C:/dev/vcpkg/buildtrees/boost-regex/src/ost-1.82.0-aceb223f87.clean
-- Including C:/dev/vcpkg/ports/boost-regex/b2-options.cmake
-- Getting CMake variables for x64-windows
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/dev/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j17
Working Directory: C:/dev/vcpkg/buildtrees/boost-regex/x64-windows-dbg
See logs for more information:
C:\dev\vcpkg\buildtrees\boost-regex\install-x64-windows-dbg-out.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/boost-build/boost-modular-build.cmake:139 (vcpkg_cmake_install)
ports/boost-regex/portfile.cmake:12 (boost_modular_build)
scripts/ports.cmake:147 (include)
error: building boost-regex:x64-windows failed with: BUILD_FAILED
Elapsed time to handle boost-regex:x64-windows: 3 s
Please provide this error log C:\dev\vcpkg\buildtrees\boost-regex\install-x64-windows-dbg-out.log
. :)
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.
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.
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.
@FrankXie05 I meet the same problem. Is there any solution to solve this?
@lylong94
[1] msvc-141/debug/address-model-64/architecture-x86/threadapi-win32/threading-multi
...skipped <pC:\dev\vcpkg\buildtrees\boost-regex\x64-windows-dbg\boost\build\4a0b98286dcb24041e334dac7d09e0e9>posix_api.obj for lack of <pC:\dev\vcpkg\buildtrees\boost-regex\x64-windows-dbg\boost\standalone\msvc\519b4a0bf9288c9063da17bc674d7350>msvc-setup.nup...
The log shows: You seem to be missing or not correctly identifying the msvc tool-setup. Can you check it manually?
C:\dev\vcpkg\buildtrees\boost-regex\x64-windows-dbg\boost\standalone\msvc\519b4a0bf9288c9063da17bc674d7350>msvc-setup
It should be msvc-setup.bat
. 🧐
Yes, the file is lost
@lylong94 Which version of vs are you installing? Do you have the corresponding toolset installed?
vs2022 This is message in my log file.
Host Environment
Host: x64-windows
Compiler: MSVC 19.38.33134.0
vcpkg-tool version: 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e
vcpkg-scripts version: https://github.com/microsoft/vcpkg/commit/83444c57754d01d584a4a371a070c5147e8a5aae 2024-01-10 (2 weeks ago)
You need install MSVC v143 x64/x86 build tools
.
In fact, there is a more hacker approach. You can try to manually create an msvc-setup.bat
(No need to write anything) in the folder \vcpkg\buildtrees\boost-regex\x64-windows-dbg\boost\standalone\msvc
.
Well, create msvc-setup.bat
is not work. I will try install build tools
I will try install build tools
@FrankXie05 There is what I have installed. It still not work.
I add set(VCPKG_PLATFORM_TOOLSET v143)
to file vcpkg\triplets\x64-windows.cmake
, the log shows it still use compiler Compiler: MSVC 19.38.33134.0
.
What did I missed?
This is my log. Package: boost-regex:x64-windows@1.83.0
Host Environment
To Reproduce
vcpkg install boost-regex
Failure logs
-- Using cached boostorg-regex-boost-1.83.0.tar.gz.
-- Cleaning sources at E:/Microsoft Visual Studio/VC/vcpkg/buildtrees/boost-regex/src/ost-1.83.0-4f302d8536.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/Microsoft Visual Studio/VC/vcpkg/downloads/boostorg-regex-boost-1.83.0.tar.gz
-- Using source at E:/Microsoft Visual Studio/VC/vcpkg/buildtrees/boost-regex/src/ost-1.83.0-4f302d8536.clean
-- Including E:/Microsoft Visual Studio/VC/vcpkg/ports/boost-regex/b2-options.cmake
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: E:/Qt5.15/Tools/CMake_64/bin/cmake.exe --build . --config Debug --target install -- -v -j17
Working Directory: E:/Microsoft Visual Studio/VC/vcpkg/buildtrees/boost-regex/x64-windows-dbg
See logs for more information:
E:\Microsoft Visual Studio\VC\vcpkg\buildtrees\boost-regex\install-x64-windows-dbg-out.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/boost-build/boost-modular-build.cmake:139 (vcpkg_cmake_install)
ports/boost-regex/portfile.cmake:12 (boost_modular_build)
scripts/ports.cmake:170 (include)
Copy issue body from C:/dev/vcpkg/installed/vcpkg/issue_body.md