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

MSVC generates "attempting to reference a deleted function" during build.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: C++
    • Labels:
      None
    • Environment:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              wesmckinn Wes McKinney
              Reporter:
              mathewb001 Bipin Mathew
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: