Is your feature request related to a problem? Please describe.
The linux vcpkg build of gdal does not get its dependencies from vcpkg. The configure command needs to refer to the vcpkg install path so it finds its dependencies there. For example, xerces-c or tiff. They are found in /usr not in the vcpkg install path.
I am not sure how to change to portfile, but here is how I built gdal using the vcpkg install directory as $vcpkg
LDFLAGS=-L$vcpkg/lib \
CFLAGS=-I$vcpkg/include \
./configure \
--prefix=$pkg \
--disable-shared \
--enable-static \
--with-pic \
--with-curl=$vcpkg \
--with-expat=$vcpkg \
--with-geos=yes \
--with-geotiff=$vcpkg \
--with-hdf5=$vcpkg \
--with-libkml=$vcpkg \
--with-liblzma=yes \
--with-libtiff=$vcpkg\
--with-libz=$vcpkg\
--with-openjpeg=$vcpkg \
--with-png=$vcpkg \
--with-proj=$vcpkg \
--with-proj=$vcpkg \
--with-spatialite=$vcpkg \
--with-sqlite3=$vcpkg \
--with-webp=$vcpkg \
--with-xerces=$vcpkg \
--with-xml2=$vcpkg
(I am not sure if the gdal build is using the vcpkg geos -- there is some strange behavior regarding the [missing] geos config file.)
Is your feature request related to a problem? Please describe.
The linux vcpkg build of gdal does not get its dependencies from vcpkg. The
configurecommand needs to refer to the vcpkg install path so it finds its dependencies there. For example, xerces-c or tiff. They are found in/usrnot in the vcpkg install path.I am not sure how to change to portfile, but here is how I built gdal using the vcpkg install directory as
$vcpkg(I am not sure if the gdal build is using the vcpkg
geos-- there is some strange behavior regarding the [missing] geos config file.)