[ https://issues.apache.org/jira/browse/ARROW-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920715#comment-16920715 ]
Arik Funke commented on ARROW-6404: ----------------------------------- [~kou] Thanks for letting me know. If you are updating python.rst, these are a few points that from a novice's point of view were missing from the instructions. * "Microsoft Build Tools 2015 Update 3" from [https://visualstudio.microsoft.com/vs/older-downloads/] are required. Newer will not work. But I suspect the version required will depend on the pyhton version, right? * Windows SDK must be installed during build tools installations. Windows 10 users should be warned that they need to keep the pre-selected Windows 8 SDK not manually select Windows 10 SDK. * Not sure whether CMake comes with newer build tools, but for the 2015 version, it apparently needs to be installed separately from [https://cmake.org/download/,] > [C++] CMake build of arrow libraries fails on Windows > ----------------------------------------------------- > > Key: ARROW-6404 > URL: https://issues.apache.org/jira/browse/ARROW-6404 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Arik Funke > Assignee: Sutou Kouhei > Priority: Major > Labels: build, pull-request-available > Fix For: 0.15.0 > > Time Spent: 1h > Remaining Estimate: 0h > > I am trying to build the python pyarrow extension on Windows 10 using Visual > Studio 2015 Build Tools and the current stable CMake. > Following [the > instructions|https://github.com/apache/arrow/blob/master/docs/source/developers/python.rst] > to the letter, CMake fails with the error: > {{??CMake Error at cmake_modules/SetupCxxFlags.cmake:42 (string):??}} > {{?? string no output variable specified??}} > {{??Call Stack (most recent call first):??}} > {{?? CMakeLists.txt:357 (include)??}} > ---- > Complete output: > {{(pyarrow-dev) Z:\devel\arrow\cpp\build>cmake -G "Visual Studio 14 2015 > Win64" ^}} > {{More? -DCMAKE_INSTALL_PREFIX=%ARROW_HOME% ^}} > {{More? -DARROW_CXXFLAGS="/WX /MP" ^}} > {{More? -DARROW_GANDIVA=on ^}} > {{More? -DARROW_PARQUET=on ^}} > {{More? -DARROW_PYTHON=on ..}} > {{-- Building using CMake version: 3.15.2}} > {{CMake Error at CMakeLists.txt:30 (string):}} > {{ string no output variable specified}} > {{-- Selecting Windows SDK version to target Windows 10.0.17763.}} > {{-- The C compiler identification is MSVC 19.0.24210.0}} > {{-- The CXX compiler identification is MSVC 19.0.24210.0}} > {{-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual > Studio 14.0/VC/bin/x86_amd64/cl.exe}} > {{-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual > Studio 14.0/VC/bin/x86_amd64/cl.exe -- works}} > {{-- Detecting C compiler ABI info}} > {{-- Detecting C compiler ABI info - done}} > {{-- Detecting C compile features}} > {{-- Detecting C compile features - done}} > {{-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual > Studio 14.0/VC/bin/x86_amd64/cl.exe}} > {{-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual > Studio 14.0/VC/bin/x86_amd64/cl.exe -- works}} > {{-- Detecting CXX compiler ABI info}} > {{-- Detecting CXX compiler ABI info - done}} > {{-- Detecting CXX compile features}} > {{-- Detecting CXX compile features - done}} > {{-- Arrow version: 0.15.0 (full: '0.15.0-SNAPSHOT')}} > {{-- Arrow SO version: 15 (full: 15.0.0)}} > {{-- Found PkgConfig: > Z:/Systemdateien/Miniconda3/envs/pyarrow-dev/Library/bin/pkg-config.exe > (found version "0.29.2")}} > {{-- clang-tidy not found}} > {{-- clang-format not found}} > {{-- infer not found}} > {{-- Found PythonInterp: > Z:/Systemdateien/Miniconda3/envs/pyarrow-dev/python.exe (found version > "3.7.3")}} > {{-- Found cpplint executable at Z:/devel/arrow/cpp/build-support/cpplint.py}} > {{-- Compiler command: C:/Program Files (x86)/Microsoft Visual Studio > 14.0/VC/bin/x86_amd64/cl.exe}} > {{-- Compiler version:}} > {{-- Compiler id: MSVC}} > {{Selected compiler msvc}} > {{-- Performing Test CXX_SUPPORTS_SSE4_2}} > {{-- Performing Test CXX_SUPPORTS_SSE4_2 - Failed}} > {{-- Performing Test CXX_SUPPORTS_ALTIVEC}} > {{-- Performing Test CXX_SUPPORTS_ALTIVEC - Failed}} > {{-- Performing Test CXX_SUPPORTS_ARMCRC}} > {{-- Performing Test CXX_SUPPORTS_ARMCRC - Failed}} > {{-- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO}} > {{-- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO - Failed}} > {{CMake Error at cmake_modules/SetupCxxFlags.cmake:42 (string):}} > {{ string no output variable specified}} > {{Call Stack (most recent call first):}} > {{ CMakeLists.txt:357 (include)}} > {{-- Arrow build warning level: CHECKIN}} > {{Configured for build (set with cmake > -DCMAKE_BUILD_TYPE=\{release,debug,...})}} > {{CMake Error at cmake_modules/SetupCxxFlags.cmake:438 (message):}} > {{ Unknown build type:}} > {{Call Stack (most recent call first):}} > {{ CMakeLists.txt:357 (include)}} > {{-- Configuring incomplete, errors occurred!}} > {{See also "Z:/devel/arrow/cpp/build/CMakeFiles/CMakeOutput.log".}} > {{See also "Z:/devel/arrow/cpp/build/CMakeFiles/CMakeError.log".}} > {{(pyarrow-dev) Z:\devel\arrow\cpp\build>}} -- This message was sent by Atlassian Jira (v8.3.2#803003)