On Fri, Sep 26, 2008 at 8:36 AM, Nidel, Mike <[EMAIL PROTECTED]> wrote: > Two quick questions: > > 1. What is libgdalconstjni.so? I've been building and using the JNI > interfaces and just blindly including this file, but I can't determine > what this is and whether I need it. Sorry if this is a stupid question, > I couldn't find the answer in any of the build docs.
Mike, In theory this contains a bunch of constant defines for GDAL, stuff like "gdal.GA_ReadOnly". In practice I do not know if this resolves to actual code in Java or not. > 2. Is there a reason why on linux the build creates a libgdal.so whereas > on Windows it's gdalXX.dll, i.e. the version number is inserted in the > name? I would think you'd want to be consistent across platforms there. On linux the version handling is done differently by libtool in order to be consistent with other linux shared libraries. I think consistency with how things are done on other platforms is less important than consistency with the general expectations on the platform in question. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
