Eleobert opened a new issue, #14478:
URL: https://github.com/apache/arrow/issues/14478

   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](https://github.com/apache/arrow/files/9844332/link_errors.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to