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

[C++] Protobuf fails building on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • C++
    • None

    Description

      Looks like this part of our build chain assumes Unix:

      [55/489] Performing configure step for 'protobuf_ep'
      FAILED: protobuf_ep-prefix/src/protobuf_ep-stamp/protobuf_ep-configure
      cmd.exe /C "cd /D C:\t\arrow\cpp\build-debug\protobuf_ep-prefix\src\protobuf_ep
      && C:\Miniconda3\envs\arrow\Library\bin\cmake.exe -P C:/t/arrow/cpp/build-debug/
      protobuf_ep-prefix/src/protobuf_ep-stamp/protobuf_ep-configure-DEBUG.cmake && C:
      \Miniconda3\envs\arrow\Library\bin\cmake.exe -E touch C:/t/arrow/cpp/build-debug
      /protobuf_ep-prefix/src/protobuf_ep-stamp/protobuf_ep-configure"
      CMake Error at C:/t/arrow/cpp/build-debug/protobuf_ep-prefix/src/protobuf_ep-sta
      mp/protobuf_ep-configure-DEBUG.cmake:49 (message):
        Command failed: %1 is not a valid Win32 application
      
         './configure' 'AR=' 'RANLIB=' 'CC=C:/Program Files (x86)/Microsoft Visual Stu
      dio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe' 'CXX=C:/Min
      iconda3/envs/arrow/Scripts/clcache.exe' '--disable-shared' '--prefix=C:/t/arrow/
      cpp/thirdparty/protobuf_ep-install' 'CFLAGS=/DWIN32 /D_WINDOWS /W3  /MDd /Zi /Ob
      0 /Od /RTC1' 'CXXFLAGS=/DWIN32 /D_WINDOWS  /GR /EHsc /D_SILENCE_TR1_NAMESPACE_DE
      PRECATION_WARNING  /MDd /Zi /Ob0 /Od /RTC1'
      
        See also
      
          C:/t/arrow/cpp/build-debug/protobuf_ep-prefix/src/protobuf_ep-stamp/protobuf
      _ep-configure-*.log
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            apitrou Antoine Pitrou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: