Closed Jerry1104 closed 3 years ago
@Jerry1104
cd [vcpkg-root]
git pull
.\bootstrap-vcpkg.bat
vcpkg upgrade
or vcpkg update
to see which ports need updatingvcpkg install boost:x64-windows
msmpi[core]:x64-windows python3[core]:x64-windows Starting package 1/148: boost-uninstall:x64-windows Building package boost-uninstall[core]:x64-windows...
Please use the following command when you need to remove all boost ports/components: "./vcpkg remove boost-uninstall:x64-windows --recurse"
-- Performing post-build validation -- Performing post-build validation done Building package boost-uninstall[core]:x64-windows... done Installing package boost-uninstall[core]:x64-windows... Installing package boost-uninstall[core]:x64-windows... done Elapsed time for package boost-uninstall:x64-windows: 847.7 ms Starting package 2/148: boost-vcpkg-helpers:x64-windows Building package boost-vcpkg-helpers[core]:x64-windows... -- Performing post-build validation -- Performing post-build validation done Building package boost-vcpkg-helpers[core]:x64-windows... done Installing package boost-vcpkg-helpers[core]:x64-windows... Installing package boost-vcpkg-helpers[core]:x64-windows... done Elapsed time for package boost-vcpkg-helpers:x64-windows: 47.81 ms Starting package 3/148: boost-compatibility:x64-windows Building package boost-compatibility[core]:x64-windows... -- Using cached D:/vcpkg_x64/vs2017/prod/downloads/boostorg-compatibility-boost-1.74.0.tar.gz -- Extracting source D:/vcpkg_x64/vs2017/prod/downloads/boostorg-compatibility-boost-1.74.0.tar.gz -- Using source at D:/vcpkg_x64/vs2017/prod/buildtrees/boost-compatibility/src/ost-1.74.0-ee081c3ca1 -- Packaging headers -- Packaging headers done -- Using cached D:/vcpkg_x64/vs2017/prod/downloads/boost_LICENSE_1_0.txt -- Installing: D:/vcpkg_x64/vs2017/prod/packages/boost-compatibility_x64-windows/share/boost-compatibility/copyright -- Performing post-build validation -- Performing post-build validation done Building package boost-compatibility[core]:x64-windows... done Installing package boost-compatibility[core]:x64-windows... Installing package boost-compatibility[core]:x64-windows... done Elapsed time for package boost-compatibility:x64-windows: 208.6 ms Starting package 4/148: boost-config:x64-windows
@Jerry1104, have you try above steps? does this still be a problem for you?
@Jerry1104, please reopen this issue if above solution doesn't work for you.
D:\vcpkg>.\vcpkg install boost:x64-windows Computing installation plan... The following packages will be built and installed: boost[core]:x64-windows
zstd[core]:x64-windows Additional packages (*) will be modified to complete this operation. Detecting compiler hash for triplet x64-windows... Starting package 1/148: boost-compatibility:x64-windows Building package boost-compatibility[core]:x64-windows... Could not locate cached archive: C:\Users\Administrator\AppData\Local\vcpkg\arch ives\ce\ce7baf3a1a371facdb5a3a4ff43befcadab2a2f0.zip -- Using cached D:/vcpkg/downloads/boostorg-compatibility-boost-1.74.0.tar.gz -- Cleaning sources at D:/vcpkg/buildtrees/boost-compatibility/src/ost-1.74.0-ee 081c3ca1.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source D:/vcpkg/downloads/boostorg-compatibility-boost-1.74.0.tar. gz -- Using source at D:/vcpkg/buildtrees/boost-compatibility/src/ost-1.74.0-ee081c 3ca1.clean CMake Error at ports/boost-compatibility/portfile.cmake:11 (include): include could not find load file:
D:/vcpkg/installed/x64-windows/share/boost-vcpkg-helpers/boost-modular-heade rs.cmake Call Stack (most recent call first): scripts/ports.cmake:136 (include)
Error: Building package boost-compatibility:x64-windows failed with: BUILD_FAILE D Please ensure you're using the latest portfiles with
.\vcpkg update
, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: boost-compatibility:x64-windows Vcpkg version: 2020.06.15-nohashAdditionally, attach any relevant sections from the log files above.