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

[C++] tdigest build failure on Windows with Visual Studio

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0
    • C++
    • Windows - Visual Studio

    Description

      CMake args (run from Visual Studio command prompt): 

      C:\Git\arrow3.0.0\cpp\build>cmake ..
      -DARROW_PARQUET=ON
      -DARROW_WITH_SNAPPY=ON
      -DARROW_BUILD_STATIC=OFF
      -DSnappy_LIB=%SNAPPY_INSTALL%\lib\snappy.lib
      -DSnappy_INCLUDE_DIR=%SNAPPY_INSTALL%\include
      -DCMAKE_INSTALL_PREFIX=%BUILD_HOME%

      Missing include <tuple>:

      24>C:\Git\arrow3.0.0\cpp\src\arrow\util\tdigest.cc(224,12): error C2039: 'tie': is not a member of 'std'
      24>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\queue(22): message : see declaration of 'std'
      24>C:\Git\arrow3.0.0\cpp\src\arrow\util\tdigest.cc(224,1): error C3861: 'tie': identifier not found
      24>C:\Git\arrow3.0.0\cpp\src\arrow\util\tdigest.cc(233,12): error C2039: 'tie': is not a member of 'std'
      24>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\queue(22): message : see declaration of 'std'
      24>C:\Git\arrow3.0.0\cpp\src\arrow\util\tdigest.cc(233,1): error C3861: 'tie': identifier not found

      Arrow version:

      C:\Git\arrow3.0.0\cpp\build>git describe
       apache-arrow-3.0.0-94-g51e911892

      Fixed in PR: https://github.com/apache/arrow/pull/9382

      Attachments

        Issue Links

          Activity

            People

              nmcdonnell-kx Neal McDonnell
              nmcdonnell-kx Neal McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m