Skip to content

Build fails on windows with ARROW_PYTHON=ON #29133

@asfimport

Description

@asfimport

The build fails with the following error when ARROW_PYTHON=ON.

 

LINK : fatal error LNK1104: cannot open file 'optimized.lib'

Possible cause:

Cmake's target_link_libararies accepts optimized as a build config.

target_link_libraries(<target> [item1 [item2 [...]]] [[debug|optimized|general] <item>] ...)

Seems this flag is considered as a library name in the build.

 

Environment: OS: Windows 10
Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
System processor: AMD64
Generator: Visual Studio 16 2019

Reporter: Chathura Widanage / @chathurawidanage

Related issues:

Original Issue Attachments:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions