Hi, We are using gdal/proj through vcpkg, specifically the projections framework with OGRSpatialReference, and everything builds nicely, but when running our application we get errors related to missing proj.db.
Now, I understand that we can fix it by setting the PROJ_LIB environment variable or copying files to a suitable path. What I am wondering is if this shouldn't already be handled by CMake or VCPKG, is there some step I am missing here? The resource files can be found in the build directory under "vcpkg_installed/[triplet]/share/proj" so I can do some post-build stuff to copy files into the app output directory, but before I start going that route I'd like to know if this is the way to do it. I would guess that all users of the vcpkg gdal package will run into this issue? Cheers, Thomas
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev