Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] questions about JRE's and gdal

Hi Frank,

On Thu, Jan 5, 2012 at 10:54 AM, Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hallo list,

in addition to the native library support for jai/imagio I'm working on bundles for gdal natives, where the net.refractions.udig.libs bundle with its imageio-ext-xxxx dependencies is the host plugin for the native fragments.
I tested on windows and added all native libraries to the fragment but at runtime I get the following error:

org.gdal.libs.win32\gdaljni.dll: Can't find dependent libraries

I'm wondering, which lib is in addition necessary and where to find it. I downloaded natives for windows from http://java.net/projects/imageio-ext/downloads/download/Releases/Dependencies/GDAL/NativeLibraries/1.7.3/Windows32/gdal1.7.3-win32.zip

As far as I know, it should contains all the needed dependencies (as you may notice, it also contain gdal lib and msvc libs).
That said, it seems this is not enough on your system. If you have dependencyWalker (depend.exe) it can help to find missing dependencies.
Please let me know.

Regards,
Daniele

I had a look at the sources of GDALUtilities.java (http://java.net/projects/imageio-ext/sources/svn/content/tags/1.1.2/library/gdalframework/src/main/java/it/geosolutions/imageio/gdalframework/GDALUtilities.java?rev=1326) and the only System.loadLibrary() call is in the loadGDAL() method. 

Any suggestions? BTW, I was following the installation/configuration guide at : http://udig.refractions.net/confluence/display/ADMIN/JRE+for+Windows

Thanks a lot, Frank

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel




--
-------------------------------------------------------
Ing. Daniele Romagnoli
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://it.linkedin.com/in/danieleromagnoli


-------------------------------------------------------


Back to the top