On 16 November 2011 15:44, Howard Butler <[email protected]> wrote: > > 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 >> http://trac.osgeo.org/gdal/wiki/BuildingOnWindows#Pluginbuildingexample >> (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. >
I think I must be missing something as setting that (or --debug=on) seems to make no difference to the output C:\Users\ian.turton\src-msvc2010\gdal>apps\ogrinfo.exe --debug=on --formats Supported Formats: -> "ESRI Shapefile" (read/write) -> "MapInfo File" (read/write) -> "UK .NTF" (readonly) -> "SDTS" (readonly) -> "TIGER" (read/write) -> "S57" (read/write) ... Ian -- Ian Turton _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
