Bipin Mathew created ARROW-1955:
-----------------------------------
Summary: MSVC generates "attempting to reference a deleted
function" during build.
Key: ARROW-1955
URL: https://issues.apache.org/jira/browse/ARROW-1955
Project: Apache Arrow
Issue Type: Bug
Components: C++
Affects Versions: 0.8.0
Environment: Microsoft Windows 10 Pro
Version: 1709
OS Build: 16299.125
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
cmake command:
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release ..
Reporter: Bipin Mathew
Hello Arrow Team,
I am experiencing an issue while building the arrow cpp implementation.
Specifically I am getting the following "attempting to reference a deleted
function" in builder.h:
"C:\temp\arrow\cpp\w64\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\temp\arrow\cpp\w64\src\arrow\arrow_shared.vcxproj" (default target) (16) ->
(ClCompile target) ->
C:\temp\arrow\cpp\src\arrow/builder.h(942): error C2280:
'arrow::DictionaryBuilder<arrow::BinaryType>::DictionaryBuil
der(const arrow::DictionaryBuilder<arrow::BinaryType> &)': attempting to
reference a deleted function [C:\temp\arrow\cp
p\w64\src\arrow\arrow_shared.vcxproj]
C:\temp\arrow\cpp\src\arrow/builder.h(942): error C2280:
'arrow::DictionaryBuilder<arrow::BinaryType>::DictionaryBuil
der(const arrow::DictionaryBuilder<arrow::BinaryType> &)': attempting to
reference a deleted function [C:\temp\arrow\cp
p\w64\src\arrow\arrow_shared.vcxproj]
C:\temp\arrow\cpp\src\arrow/builder.h(942): error C2280:
'arrow::DictionaryBuilder<arrow::BinaryType>::DictionaryBuil
der(const arrow::DictionaryBuilder<arrow::BinaryType> &)': attempting to
reference a deleted function [C:\temp\arrow\cp
p\w64\src\arrow\arrow_shared.vcxproj]
C:\temp\arrow\cpp\src\arrow/builder.h(942): error C2280:
'arrow::DictionaryBuilder<arrow::BinaryType>::DictionaryBuil
der(const arrow::DictionaryBuilder<arrow::BinaryType> &)': attempting to
reference a deleted function [C:\temp\arrow\cp
p\w64\src\arrow\arrow_shared.vcxproj]
Here is my compiler version as well my parameters to cmake:
(arrow-dev) C:\temp\arrow\cpp\w64>cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
(arrow-dev) C:\temp\arrow\cpp\w64>cmake -G "Visual Studio 14 2015 Win64"
-DCMAKE_BUILD_TYPE=Release ..
Thanks so much for you great work on arrow! I would be glad to provide any
further information you require.
Regards,
Bipin
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)