You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build fails on windows with ARROW_PYTHON=ON #29133
Will Jones / @wjones127:
I've just encountered this on Windows too. Adding message("Python libs: ${PYTHON_LIBRARIES}") to line 73 in cpp/src/arrow/python yields this on Windows:
I installed Python on Windows with debug symbols and debug library, and it seems that CMake is wanting to pass both the the linker. (I was getting an error trying to do a debug build on Windows without the Python debug library, which is why I reinstalled Python with that included.) However, I don't think this line of add_arrow_lib() is prepared for that:
Activity
asfimport commentedon Jul 27, 2021
Kouhei Sutou / @kou:
Could you show all CMake log?
asfimport commentedon Jul 28, 2021
Chathura Widanage / @chathurawidanage:
@kou Please check the attachments of the main post.
asfimport commentedon Jul 29, 2021
Kouhei Sutou / @kou:
Thanks. But I didn't know why this is occurred from log...
Could you also show full CMake command line?
asfimport commentedon Jan 22, 2022
Will Jones / @wjones127:
I've just encountered this on Windows too. Adding
message("Python libs: ${PYTHON_LIBRARIES}")to line 73 in cpp/src/arrow/python yields this on Windows:But this on my Mac:
I installed Python on Windows with debug symbols and debug library, and it seems that CMake is wanting to pass both the the linker. (I was getting an error trying to do a debug build on Windows without the Python debug library, which is why I reinstalled Python with that included.) However, I don't think this line of
add_arrow_lib()is prepared for that:arrow/cpp/cmake_modules/BuildUtils.cmake
Line 373 in e291d0f
thisisnic commentedon Oct 22, 2026
Closing as obsolete, since
ARROW_PYTHONis deprecated and nothing in the C++ build mentions NumPy any more.