microsoft / vcpkg

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

boost-filesystem build failure #38934

Open TeaTimeChimp opened 1 month ago

TeaTimeChimp commented 1 month ago

Operating system

Windows

Compiler

MSVC

Steps to reproduce the behavior

git clone https://github.com/apache/arrow.git
cd arrow
vcpkg install --triplet x64-windows --x-manifest-root cpp --feature-flags=versions --clean-after-build

Failure logs

Link failure, can't find boost_atomic-vc140-mt.lib

Additional context

Compile on with latest update is producing "boost_atomic-vc144-mt.lib"

"boost-modular-build.cmake" Contains... string(REPLACE "-vc141-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2017 and VS2015 binaries string(REPLACE "-vc142-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2019 and VS2015 binaries string(REPLACE "-vc143-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2022 and VS2015 binaries ...but is missing... string(REPLACE "-vc144-" "-vc140-" NEW_FILENAME ${NEW_FILENAME}) # To merge VS2022 and VS2015 binaries

Neumann-A commented 1 month ago

old boost version won't be fixed.

DSMitten commented 1 month ago

This looks like the same issue as https://github.com/microsoft/vcpkg/issues/38980, and it looks like anyone trying to build boost in vcpkg using VS2022 17.10 will be broken until boost-build is updated as described

dg0yt commented 1 month ago

Steps to reproduce the behavior

git clone https://github.com/apache/arrow.git
cd arrow
vcpkg install --triplet x64-windows --x-manifest-root cpp --feature-flags=versions --clean-after-build

Maybe the issue/update needs to go to the arrow project, for updating https://github.com/apache/arrow/blob/main/cpp/vcpkg.json?

l8513454 commented 1 month ago

error: 生成 boost-filesystem:x64-windows 失败,结果为: BUILD_FAILED ,不是清单模式,,,请问 这个怎么解决

LilyWangLL commented 1 month ago

error: 生成 boost-filesystem:x64-windows 失败,结果为: BUILD_FAILED ,不是清单模式,,,请问 这个怎么解决

Please provide the error log.