apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.5k stars 3.53k forks source link

[C++] Compiling with vcpkg dependencies is broken for latest VS 2022 (17.10) #43327

Open HansLehnert opened 3 months ago

HansLehnert commented 3 months ago

Describe the bug, including details regarding any error messages, version, and platform.

Looks like one of the vcpkg dependencies (boost-filesystem) fails to build when using Visual Studio 17.10.

A potential solution is to bump vcpkg baseline version to newer revision either for whole project or only for boost packages.

(Some related discussion in vcpkg repo)

Component(s)

C++

kou commented 3 months ago

Could you share how to reproduce this?

HansLehnert commented 3 months ago

You can repro by installing latest Visual Studio 2022 version and running vcpkg install from the /cpp/ directory

raulcd commented 3 months ago

I am going to try and bump the vcpkg version here: https://github.com/apache/arrow/pull/43417 because we are seeing other failures that could be related to vcpkg version being old