Chathura Widanage created ARROW-13470:
-----------------------------------------

             Summary: Build fails on windows with ARROW_PYTHON=ON
                 Key: ARROW-13470
                 URL: https://issues.apache.org/jira/browse/ARROW-13470
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 4.0.1, 4.0.0
         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


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

 
{code:java}
LINK : fatal error LNK1104: cannot open file 'optimized.lib'{code}
Possible cause:

Cmake's target_link_libararies accepts *optimized* as a build config.
{code:java}
target_link_libraries(<target> [item1 [item2 [...]]] [[debug|optimized|general] 
<item>] ...){code}
Seems this flag is considered as a library name in the build.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to