[gdal-dev] Problem with gdal/swig/plugins

jim hopper JAMES.E.HOPPER at saic.com
Fri Aug 16 12:22:46 PDT 2013


Thanks! we will check that out


On 8/16/13 3:17 PM, "Even Rouault" <even.rouault at mines-paris.org> wrote:

> Le vendredi 16 août 2013 21:08:44, jim hopper a écrit :
>> Sorry I just passing this on for a coworker,
>> Gdal 1.9.2 and SWIG is 2.0.10
> 
> I've just tested with SWIG 2.0.10 (and GDAL trunk, but the bindings have not
> fundamentally changed recently) and it works. I believe your issue is not
> related to SWIG but rather to a general issue with the .dll / .so not being
> accessible by Java. See
> http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructions or
> http://trac.osgeo.org/gdal/wiki/GdalOgrInJavaBuildInstructionsUnix
> 
>> 
>> Thanks jim
>> 
>> On 8/16/13 2:58 PM, "Even Rouault" <even.rouault at mines-paris.org> wrote:
>>> Le vendredi 16 août 2013 20:33:57, jim hopper a écrit :
>>>> Is there any limitations on which version of swig can be used with gdal.
>>>> We are running into problems where our java code can¹t find the gdal
>>>> plugins.
>>> 
>>> When you ask a question about versions, it is good to say which version
>>> you are using...
>>> 
>>> They work fine with swig 1.3.40 and swig 2.0.8
>>> 
>>> Which one are you trying ?
>>> 
>>>> 15:35:27,055 WARNING [it.geosolutions.imageio.gdalframework]
>>>> (http--0.0.0.0-8442-3) Failed to get the specified GDAL Driver: DTED
>>>> Cause: java.lang.UnsatisfiedLinkError:
>>>> org.gdal.gdal.gdalJNI.SWIGDriverUpcast(J)J
>>>> This is not a problem unless you need to use the specified GDAL plugin.
>>>> It won't be enabled
>>>> 15:35:27,076 WARNING [it.geosolutions.imageio.gdalframework]
>>>> (http--0.0.0.0-8442-3) Failed to get the specified GDAL Driver: JP2KAK
>>>> Cause: java.lang.UnsatisfiedLinkError:
>>>> org.gdal.gdal.gdalJNI.SWIGDriverUpcast(J)J
>>>> This is not a problem unless you need to use the specified GDAL plugin.
>>>> It won't be enabled
>>>> 
>>>> 
>>>> _______________________________________________
>>>> gdal-dev mailing list
>>>> gdal-dev at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>> 
>> Jim  Hopper |
>> Software Application Engineer IV | National Security Sector | Integrated
>> Systems Group
>> 3745 Pentagon Blvd,
>> Beavercreek, OH 45431
>> Phone: 937-431-2336 | Mobile: 937-367-7252
>> James.e.hopper at saic.com <mailto:james.e.hopper at saic.com>
>> 
>> 
>> 
>> 
>> 
>> NATIONAL SECURITY |  HEALTH  |  ENGINEERING
>> Science Applications International Corporation
>> This email and any attachments to it are intended only for the identified
>> recipients. It may contain proprietary or otherwise legally protected
>> information of SAIC. Any unauthorized use or disclosure of this
>> communication is strictly prohibited. If you have received this
>> communication in error, please notify the sender and delete or otherwise
>> destroy the email and all attachments immediately.

Jim  Hopper | 
Software Application Engineer IV | National Security Sector | Integrated
Systems Group
3745 Pentagon Blvd,
Beavercreek, OH 45431
Phone: 937-431-2336 | Mobile: 937-367-7252
James.e.hopper at saic.com <mailto:james.e.hopper at saic.com>
  
 

 
 
NATIONAL SECURITY |  HEALTH  |  ENGINEERING
Science Applications International Corporation
This email and any attachments to it are intended only for the identified
recipients. It may contain proprietary or otherwise legally protected
information of SAIC. Any unauthorized use or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender and delete or otherwise
destroy the email and all attachments immediately.





More information about the gdal-dev mailing list