Antoine Pitrou created ARROW-5431:
-------------------------------------

             Summary: [C++] Protobuf fails building on Windows
                 Key: ARROW-5431
                 URL: https://issues.apache.org/jira/browse/ARROW-5431
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Antoine Pitrou


Looks like this part of our build chain assumes Unix:
{code}
[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

{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to