[gdal-dev] building and using an OGR plugin
hobu.inc at gmail.com
Wed Nov 16 10:44:58 EST 2011
On Nov 16, 2011, at 9:42 AM, Ian Turton wrote:
> I've been developing an OGR format to read in my employers' file
> format. All works fine when I build the new format in directly but it
> would probably make sense to provide the code as a plugin rather than
> having to build and link our own dll's for the whole library. So I
> followed the instructions at
> (and the fgdb example) and I have a plugin dll that according to
> dependency walker seems to refer to all the right things. But when I
> run ogrinfo (for example) it doesn't see my format any longer. I've
> set GDAL_DRIVER_PATH to point to the folder containing the plugin, is
> there some other step I should be looking for?
set CPL_DEBUG=on to watch it try to register the drivers. This might provide some insight.
Also, there is OGR_DRIVER_PATH that might need to be set instead (I thought both were tested, but I'd have to look to make sure.)
> (Just a lost Java programmer in C-tribe land)
Welcome to the dark side.
More information about the gdal-dev