Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
asfimport opened this issue Jan 31, 2021 · 1 comment
Closed

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

asfimport opened this issue Jan 31, 2021 · 1 comment

Comments

@asfimport
Copy link
Collaborator

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: #9382

Environment: Windows - Visual Studio
Reporter: Neal McDonnell / @nmcdonnell-kx
Assignee: Neal McDonnell / @nmcdonnell-kx

PRs and other links:

Note: This issue was originally created as ARROW-11448. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Kouhei Sutou / @kou:
Issue resolved by pull request 9382
#9382

@asfimport asfimport added this to the 4.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant