Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7409

[C++][Python] Windows link error LNK1104: cannot open file 'python37_d.lib'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 0.15.1
    • None
    • C++, Python

    Description

      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.

      Attachments

        1. fix-msvc-link-python-debug.patch
          2 kB
          Raul Bocanegra

        Issue Links

          Activity

            People

              rbocanegra Raul Bocanegra
              rbocanegra Raul Bocanegra
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m