arrow icon indicating copy to clipboard operation
arrow copied to clipboard

r2 undefined reference

Open Eleobert opened this issue 1 year ago • 0 comments

I get undefined references to r2 when I try to compile my project. Here is the cmake file:

cmake_minimum_required(VERSION 3.14 FATAL_ERROR)

project(proj)

find_package(Arrow REQUIRED)

add_executable(proj src/main.cpp)

target_compile_features(proj PRIVATE cxx_std_20)
target_link_libraries(proj arrow::arrow)

And conanfile:

[requires]
arrow/8.0.1

[options]
arrow:parquet=True
arrow:filesystem_layer=True
arrow:dataset_modules=True

[generators]
CMakeToolchain
CMakeDeps

Adding arrow:with_re2=True does not work, adding re2 as a separate dependency also does not work, neither adding a separate find_package and target_link_library with re2.

I am trying to compile the example from https://arrow.apache.org/docs/cpp/dataset.html

link_errors.txt

Eleobert avatar Oct 22 '22 12:10 Eleobert