You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/09/16 22:05:00 UTC

[jira] [Closed] (ARROW-7409) [C++][Python] Windows link error LNK1104: cannot open file 'python37_d.lib'

     [ https://issues.apache.org/jira/browse/ARROW-7409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kouhei Sutou closed ARROW-7409.
-------------------------------
    Fix Version/s:     (was: 2.0.0)
       Resolution: Not A Problem

We should not mix release build and debug build.

> [C++][Python] Windows link error LNK1104: cannot open file 'python37_d.lib'
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-7409
>                 URL: https://issues.apache.org/jira/browse/ARROW-7409
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>    Affects Versions: 0.15.1
>            Reporter: Raul Bocanegra
>            Assignee: Raul Bocanegra
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: fix-msvc-link-python-debug.patch
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> When I build arrow_python on Windows in debug mode it raises a link error "{{LNK1104: cannot open file 'python37_d.lib'".}}
> I have been having a look at the CMake files and it seems that we are forcing to link against release python lib on debug mode.
> I have edited the CMake files in order to fix this bug, see [^fix-msvc-link-python-debug.patch].
> It is just a 3 lines change and makes the debug version of arrow_python link on Windows.
> I could do a PR if you find it useful.



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