Skip to content

[C++] Cannot build debug with MSVC and vcpkg #30897

Closed

Description

@asfimport

While trying to create a debug build of Arrow on Windows using vcpkg and MSVC, I encountered a few issues with the current build configuration:

  1. Python debug and release libraries are passed, but our Cmake scripts only expect one or the other. Just as reported in ARROW-13470

  2. Since vcpkg upgraded gtest to 1.11.0, there is again a mismatch between the bundled gtest and the vcpkg versions. So we get the same error as was found in ARROW-14393

  3. Thrift could not find debug static libraries, because it was missing the "d" suffix. It should be libthriftmdd.lib, but was finding libthriftmd.lib.

    Additionally, the recommended clcache program from our Windows developer docs is no longer maintained. I found its dependency pyuv doesn't install on Windows anymore, and is also no longer maintained.

Reporter: Will Jones / @wjones127
Assignee: Kouhei Sutou / @kou

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-15415. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Apr 21, 2022

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    @kou I don't know if you would be able to help get this to completion? Debug builds on Windows are often a bit hairy to get right.

  2. asfimport commented on Apr 21, 2022

    @asfimport
    Author

    Kouhei Sutou / @kou:
    I'll take a look at this later.

  3. asfimport commented on May 9, 2022

    @asfimport
    Author

    Will Jones / @wjones127:
    FYI I submitted a draft PR just now with some fixes I've been keeping stashed in my local copy for a while now. Doesn't solve all issues on MSVC + vcpkg, but is enough to get me a basic build.

  4. asfimport commented on Jun 13, 2022

    @asfimport
    Author

    David Li / @lidavidm:
    Issue resolved by pull request 13108
    #13108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions