arashandishgar commented on issue #45928:
URL: https://github.com/apache/arrow/issues/45928#issuecomment-2751300518

   I use the SHA of the latest commit on the master branch of vcpkg, which is 
at this moment .`21816e0df975ab3ba13ab75263c4deeb080ef681`. .However, there are 
other problems that I try to ignore in my command.
   
   > I use Ubuntu 24.04 and vcpkg to build Arrow with the following command: 
`cmake --preset ninja-debug-maximal 
-DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake 
-DARROW_ZSTD_USE_SHARED=OFF ..` I got the following error.
   
   1- Arrow needs the shared version of zstd, which is not feasible for vcpkg 
to build it. (I use the static version in the above command.)
   2- If I use ` DARROW_DEPENDENCY_SOURCE:STRING=VCPKG` . I get the following 
error.
   ```
   
   CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:893 (_find_package):
     Could not find a package configuration file provided by "azure-core-cpp"
     with any of the following names:
   
       azure-core-cppConfig.cmake
       azure-core-cpp-config.cmake
   
     Add the installation prefix of "azure-core-cpp" to CMAKE_PREFIX_PATH or set
     "azure-core-cpp_DIR" to a directory containing one of the above files.  If
     "azure-core-cpp" provides a separate development package or SDK, be sure it
     has been installed.
   Call Stack (most recent call first):
     cmake_modules/FindAzure.cmake:32 (find_package)
     vcpkg/scripts/buildsystems/vcpkg.cmake:893 (_find_package)
     cmake_modules/ThirdpartyToolchain.cmake:310 (find_package)
     cmake_modules/ThirdpartyToolchain.cmake:5537 (resolve_dependency)
     CMakeLists.txt:547 (include)
   
   ```
   BTW, thanks for your suggestion for contributing by sending a pull request. 
Unfortunately, I virtually know nothing about CMake and vcpkg. I just know how 
to use it. (I mean, I have not written any vcpkg.json or CMakeLists.txt.) I 
think it's better ,more informed people work on it.


-- 
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