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

[C++] CMake build of arrow libraries fails on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      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 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>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ARF1 ARF
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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