[Gdal-dev] Linking Code That Uses MITAB with the GDAL .lib file

Bob Cave rlcave3rd at yahoo.com
Thu Oct 6 15:17:16 EDT 2005



--- Frank Warmerdam <warmerdam at pobox.com> wrote:

> Looking at mitab.h, it does not seem that Daniel
> marked the
> MITAB custom classes for export from the DLL.  It
> might be
> sufficient to change your local copy of mitab.h to
> declare
> some (all?) of the classes for export.
> 
> For example change:
> class IMapInfoFile : public OGRLayer
> 
> to:
> class CPL_DLL IMapInfoFile : public OGRLayer
> 
> If this resolves the problem, then you might want to
> submit a
> bug against MITAB suggesting that this be
> incorporated back
> into the core.
> 

Thanks for the quick reply.  That did solve the
problem.  I think that our final solution will be to
switch to using OGR instead of the MITAB-specific
classes, so I won't need the additional exports.

Cheers,

Bob


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the Gdal-dev mailing list