You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Arik Funke (Jira)" <ji...@apache.org> on 2019/09/01 08:56:00 UTC

[jira] [Comment Edited] (ARROW-6404) [C++] CMake build of arrow libraries fails on Windows

    [ https://issues.apache.org/jira/browse/ARROW-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920343#comment-16920343 ] 

Arik Funke edited comment on ARROW-6404 at 9/1/19 8:55 AM:
-----------------------------------------------------------

[~kou] Your PR has solved that problem.

I have however encountered further problems: Module "re2" was missing. A `conda install` solved that one. (Should probably be added to the above linked instructions.)

Now however cmake is complaining about missing llvm. Is this supposed to be installed via conda or separately? Do I simply get the binaries from [the LLVM website|http://releases.llvm.org/download.html] or is there a minimal package that is sufficient?

Many thanks.

 
----
Error message:

{{-- Could NOT find LLVM (missing: LLVM_DIR)}}
 {{CMake Error at cmake_modules/FindLLVM.cmake:34 (find_package):}}
 \{{ Could not find a package configuration file provided by "LLVM" (requested}}
 \{{ version 7.1) with any of the following names:}}

{{LLVMConfig.cmake}}
 \{{ llvm-config.cmake}}

{{Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set}}
 \{{ "LLVM_DIR" to a directory containing one of the above files. If "LLVM"}}
 \{{ provides a separate development package or SDK, be sure it has been}}
 \{{ installed.}}
 {{Call Stack (most recent call first):}}
 \{{ src/gandiva/CMakeLists.txt:31 (find_package)}}

{{-- Configuring incomplete, errors occurred!}}


was (Author: arf1):
[~kou] Your PR has solved that problem.

I have however encountered further problems: Module "re2" was missing. A `conda install` solved that one. (Should probably be added to the above linked instructions.)

Now however cmake is complaining about missing llvm. Is this suppose to be installed via conda or separately? Do I simply get the binaries from [the LLVM website|http://releases.llvm.org/download.html] or is there a minimal package that is sufficient?

Many thanks.

 
----
Error message:

{{-- Could NOT find LLVM (missing: LLVM_DIR)}}
{{CMake Error at cmake_modules/FindLLVM.cmake:34 (find_package):}}
{{ Could not find a package configuration file provided by "LLVM" (requested}}
{{ version 7.1) with any of the following names:}}

{{LLVMConfig.cmake}}
{{ llvm-config.cmake}}

{{Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set}}
{{ "LLVM_DIR" to a directory containing one of the above files. If "LLVM"}}
{{ provides a separate development package or SDK, be sure it has been}}
{{ installed.}}
{{Call Stack (most recent call first):}}
{{ src/gandiva/CMakeLists.txt:31 (find_package)}}


{{-- Configuring incomplete, errors occurred!}}

> [C++] CMake build of arrow libraries fails on Windows
> -----------------------------------------------------
>
>                 Key: ARROW-6404
>                 URL: https://issues.apache.org/jira/browse/ARROW-6404
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Arik Funke
>            Assignee: Sutou Kouhei
>            Priority: Major
>              Labels: build, pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I am trying to build the python pyarrow extension on Windows 10 using Visual Studio 2015 Build Tools and the current stable CMake.
> Following [the instructions|https://github.com/apache/arrow/blob/master/docs/source/developers/python.rst] to the letter, CMake fails with the error:
> {{??CMake Error at cmake_modules/SetupCxxFlags.cmake:42 (string):??}}
> {{?? string no output variable specified??}}
> {{??Call Stack (most recent call first):??}}
> {{?? CMakeLists.txt:357 (include)??}}
> ----
> Complete output:
> {{(pyarrow-dev) Z:\devel\arrow\cpp\build>cmake -G "Visual Studio 14 2015 Win64" ^}}
> {{More? -DCMAKE_INSTALL_PREFIX=%ARROW_HOME% ^}}
> {{More? -DARROW_CXXFLAGS="/WX /MP" ^}}
> {{More? -DARROW_GANDIVA=on ^}}
> {{More? -DARROW_PARQUET=on ^}}
> {{More? -DARROW_PYTHON=on ..}}
> {{-- Building using CMake version: 3.15.2}}
> {{CMake Error at CMakeLists.txt:30 (string):}}
> {{ string no output variable specified}}
> {{-- Selecting Windows SDK version to target Windows 10.0.17763.}}
> {{-- The C compiler identification is MSVC 19.0.24210.0}}
> {{-- The CXX compiler identification is MSVC 19.0.24210.0}}
> {{-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe}}
> {{-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works}}
> {{-- Detecting C compiler ABI info}}
> {{-- Detecting C compiler ABI info - done}}
> {{-- Detecting C compile features}}
> {{-- Detecting C compile features - done}}
> {{-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe}}
> {{-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works}}
> {{-- Detecting CXX compiler ABI info}}
> {{-- Detecting CXX compiler ABI info - done}}
> {{-- Detecting CXX compile features}}
> {{-- Detecting CXX compile features - done}}
> {{-- Arrow version: 0.15.0 (full: '0.15.0-SNAPSHOT')}}
> {{-- Arrow SO version: 15 (full: 15.0.0)}}
> {{-- Found PkgConfig: Z:/Systemdateien/Miniconda3/envs/pyarrow-dev/Library/bin/pkg-config.exe (found version "0.29.2")}}
> {{-- clang-tidy not found}}
> {{-- clang-format not found}}
> {{-- infer not found}}
> {{-- Found PythonInterp: Z:/Systemdateien/Miniconda3/envs/pyarrow-dev/python.exe (found version "3.7.3")}}
> {{-- Found cpplint executable at Z:/devel/arrow/cpp/build-support/cpplint.py}}
> {{-- Compiler command: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe}}
> {{-- Compiler version:}}
> {{-- Compiler id: MSVC}}
> {{Selected compiler msvc}}
> {{-- Performing Test CXX_SUPPORTS_SSE4_2}}
> {{-- Performing Test CXX_SUPPORTS_SSE4_2 - Failed}}
> {{-- Performing Test CXX_SUPPORTS_ALTIVEC}}
> {{-- Performing Test CXX_SUPPORTS_ALTIVEC - Failed}}
> {{-- Performing Test CXX_SUPPORTS_ARMCRC}}
> {{-- Performing Test CXX_SUPPORTS_ARMCRC - Failed}}
> {{-- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO}}
> {{-- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO - Failed}}
> {{CMake Error at cmake_modules/SetupCxxFlags.cmake:42 (string):}}
> {{ string no output variable specified}}
> {{Call Stack (most recent call first):}}
> {{ CMakeLists.txt:357 (include)}}
> {{-- Arrow build warning level: CHECKIN}}
> {{Configured for build (set with cmake -DCMAKE_BUILD_TYPE=\{release,debug,...})}}
> {{CMake Error at cmake_modules/SetupCxxFlags.cmake:438 (message):}}
> {{ Unknown build type:}}
> {{Call Stack (most recent call first):}}
> {{ CMakeLists.txt:357 (include)}}
> {{-- Configuring incomplete, errors occurred!}}
> {{See also "Z:/devel/arrow/cpp/build/CMakeFiles/CMakeOutput.log".}}
> {{See also "Z:/devel/arrow/cpp/build/CMakeFiles/CMakeError.log".}}
> {{(pyarrow-dev) Z:\devel\arrow\cpp\build>}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)