[gdal-dev] Trying to build plugins
David Days
david.days at maplarge.com
Wed Oct 15 10:49:47 PDT 2025
I'm working on updating the gdal build that I used to add more support
(Creating Vector MBTiles, to be specific) and I tried to follow the
instructions to enable all the possible optional drivers and create them as
plugins.
When I run cmake, I use the following relevant flags:
-UGDAL_ENABLE_DRIVER_* -UOGR_ENABLE_DRIVER_* -DGDAL_ENABLE_PLUGINS=ON
-DGDAL_BUILD_OPTIONAL_DRIVERS=ON -DOGR_BUILD_OPTIONAL_DRIVERS=ON
After adding all the required support, I can run the checks using the
--formats and --format arguments to verify.
However, no matter what I do, the only thing in /usr/lib64/gdalplugins is
the driver.ini file. CMake says it built them, and if I manually call
'make gdal_plugins` it tells me that target was built.
It appears that the Vector MBTiles support I needed is there, but I'm at a
loss on how to get the plugins to build and install.
I'm building on a Fedora 41 x86_64, and I modified the CMakeLists.txt to
include a custom CPACK for RPM, TGZ, and .DEB support.
The (mostly) empty gdalplugins directory is the same in both the CPACK
output and under the build folders.
Any pointers or thoughts would be appreciated.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251015/59e8a33b/attachment.htm>
More information about the gdal-dev
mailing list