[fdo-internals] OGR ProjConverter.h/.cpp

Traian Stanev traian.stanev at autodesk.com
Fri Oct 19 16:07:13 EDT 2007


> greg / Traian,
> 
> Does the OGR provider statically link against OGR or dynamically?
> I'd like to strongly encourage linking against gdal_i.lib and using
> the DLL instead of statically linking a distinct copy of GDAL into
> the OGR provider.  This would avoid the OGR provider needing to
> link against sub-components like oci.lib, libpq.lib, etc. It would
> also mean it is easier for folks to substitute a different (but
> ABI compatible) version of GDAL as a DLL and have the GDAL, and OGR
> provider benefit from changes in the list of formats.
> 
> I'd also suggest that "tricky" drivers requiring external files, like
> oci, and pq should be handled as plugins rather than normally being
> built in.
> 


That's a good point. I was doing a static build, only because it made
distribution of the provider easier (single DLL), but if we integrate it
into the build, it should link to the dynamic library.



Traian



More information about the fdo-internals mailing list