yutannihilation commented on issue #218:
URL: https://github.com/apache/sedona-db/issues/218#issuecomment-3427584823

   Regarding Windows, I hope the guide describes how to use vcpkg in a little 
more detail.
   After some struggle, I succeeded to build sedona-db with the following 
envvars:
   
   ```ps1
   $env:VCPKG_ROOT = 'path/to/vcpkg'
   $env:CMAKE_TOOLCHAIN_FILE = 
"${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
   
   # install necessary packages
   & "${env:VCPKG_ROOT}/vcpkg.exe" install geos proj abseil openssl
   
   # These settings are for pkg-config. I'm reusing the one that vcpkg uses.
   # The hash value in the path probably varies.
   $env:PATH = 
"${env:VCPKG_ROOT}/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin/;$env:PATH"
   $env:PKG_CONFIG_SYSROOT_DIR = 
"${env:VCPKG_ROOT}/downloads/tools/msys2/21caed2f81ec917b/mingw64/"
   $env:PKG_CONFIG_PATH = 
"${env:VCPKG_ROOT}/installed/x64-windows-dynamic-release/lib/pkgconfig/"
   ```


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