jtristano opened a new issue, #44623: URL: https://github.com/apache/arrow/issues/44623
### Describe the usage question you have. Please include as many useful details as possible. Hi, I'm trying to build arrow into my cmake c++ project. I installed all of the packages here --- https://arrow.apache.org/install/ I followed the instructions on the build page for cmake but that wasnt enough.... I had to do this ``` # Add re2 package FetchContent_Declare( re2 GIT_REPOSITORY https://github.com/google/re2.git GIT_TAG 2024-07-02 ) FetchContent_MakeAvailable(re2) ``` Then cmake complained some more about abseil.. added this ``` # Add Abseil FetchContent_Declare( abseil GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git GIT_TAG 20230125.1 ) FetchContent_MakeAvailable(abseil) ``` I also use nlohmann so I had to do this ``` if(NOT TARGET nlohmann_json) FetchContent_Declare( json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz ) FetchContent_MakeAvailable(json) endif() ``` Then I had to ask copilot for help in resolving all of this.... ``` -- Configuring done (12.8s) CMake Error: install(EXPORT "re2Targets" ...) includes target "re2" which requires target "absl_absl_check" that is not in any export set. CMake Error: install(EXPORT "re2Targets" ...) includes target "re2" which requires target "absl_absl_log" that is not in any export set. -- Generating done **(0.3s)** ``` Not being a cmake expert, I'm stuck between removing this and getting re2 included twice. Copilot is stuck here and so am I. Any help in being able to successfully link against developer packages. I dont want to build from source if I dont have to. Some cmake info if it helps ``` -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Using Conan toolchain: /home/xxx/xxx/Release/conan_toolchain.cmake -- The CUDA compiler identification is NVIDIA 12.2.140 -- The CXX compiler identification is Clang 14.0.0 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/mpicxx - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done ``` ### Component(s) C++, Continuous Integration, Developer Tools, Documentation, Packaging -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org