You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Artem Zuikov (Jira)" <ji...@apache.org> on 2020/10/21 13:24:00 UTC
[jira] [Created] (ARROW-10362) Cmake cannot build arrow as
dependency
Artem Zuikov created ARROW-10362:
------------------------------------
Summary: Cmake cannot build arrow as dependency
Key: ARROW-10362
URL: https://issues.apache.org/jira/browse/ARROW-10362
Project: Apache Arrow
Issue Type: Bug
Components: C++
Environment: Ubuntu 20.04
Reporter: Artem Zuikov
I'm triyng to make Arrow as a submodule with `add_subdirectory(arrow/cpp)` command and it fails. I try to make row-wise-conversion-example.cc but outside of project and link it with arrow_library.
{code:java}
project(test)
set(ARROW_WITH_LZ4 ON CACHE INTERNAL "")
set(ARROW_WITH_ZSTD ON CACHE INTERNAL "")
set(ARROW_FLIGHT ON CACHE INTERNAL "")
set(CMAKE_BUILD_TYPE Release)
add_subdirectory(arrow/cpp)
add_executable(test row-wise-conversion-example.cc)
target_link_libraries(test ${ARROW_LIBRARY})
{code}
First trouble is if there's no CMAKE_BUILD_TYPE set it fails. Then there's an error with libprotoc build:
{noformat}
CMake Error at arrow/cpp/cmake_modules/ThirdpartyToolchain.cmake:1427 (message):
libprotoc was set to
Call Stack (most recent call first):
arrow/cpp/CMakeLists.txt:496 (include)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)