[gdal-dev] [Windows] GDAL plug-ins are not found

Paul Meems bontepaarden at gmail.com
Sat Dec 20 07:35:51 PST 2014


Thanks Even for your quick reaction.

I have indeed another error line, but because it was translated to Dutch I
assumed it was not relevant.
This is that line translated to English:
126: Cannot find the mentioned module

When I use dependency walker on the gdal_ECW_JP2ECW.dll in my plug-ins
folder I get errors about missing gdal200.dll, etc.
When I copy the dll into the folder with gdal200.dll dependency walker has
no problems.
When I remove this dll again and copy gdalinfo.exe into this folder and use
it on the ecw-file I get the expected meta data of the file.
So it seems gdal is not the problem, right?

Any suggestions what could be the problem?

Thanks,




Paul

*Paul Meems *
Release manager, configuration manager
and forum moderator of MapWindow GIS.
www.mapwindow.org

Owner of MapWindow.nl - Support for
Dutch speaking users.
www.mapwindow.nl



*The English presentations of the MapWindow GIS Conference 2014 are online.
<http://www.slideshare.net/mapwindow>*

2014-12-20 16:09 GMT+01:00 Even Rouault <even.rouault at spatialys.com>:

> Le samedi 20 décembre 2014 15:56:30, Paul Meems a écrit :
> > With our ActiveX control (MapWinGIS) written in C++ we use GDAL v2.
> > We use the pre-build binaries from GISInternals.com.
> >
> > We have two C# applications that use our ActiveX control. One does some
> > testing and its executable is in the same folder as our ocx and the gdal
> > dlls. This folder also has the gdalplugins folder with the ECW, MrSid en
> > NetCDF plug-ins.
> >
> > When I open an ECW file in the testapplication I get this error:
> > GDAL FAILURE: `[..]\ECW-ERMapper-Compressed-Wavelets.ecw' not recognised
> as
> > a supported file format. But we can open the file and it is shown
> properly
> > in our map.
>
> That's really surprising ! Almost a miracle, but I don't believe in
> miracles.
> The only explanation I can see is that there are 2 opening attempts, one
> before calling GDALAllRegister() and the second one afterwards... What
> would
> be weird code... So that must be something else.
>
> >
> > Our second C# application is a demo and has its executables in its own
> > folder.
> > I've set the GDAL_DRIVER_PATH env. variable to the gdalplugins folder.
> > When I now open the ECW file in this application I get this error:
> > GDAL FAILURE: Can't load requested DLL:
> >
> D:\dev\MapwinGIS\MapWinGIS\trunk\bin\Win32\gdalplugins\gdal_ECW_JP2ECW.dll
>
> There should be another line afterwards with an error code and an error
> message, but perhaps your error handler "eats" that extra line.
>
> > But that is the location of the dll. I've double checked. Even the casing
> > is correct.
>
> Perhaps a dependency problem. Can the ECW SDK dll be reachable and/or in
> the
> path ?
>
> > I also get this warning: GDAL WARNING: Failed to open
> > [..]\ECW-ERMapper-Compressed-Wavelets.ecw
> >
> > All GDAL binaries were downloaded yesterday, but I believe we had the
> same
> > issue with prior versions of GDALv2 as well. But because the test
> > application did show the image we ignored it.
> > But the demo is a bit more strict ;)
> >
> > Any suggestion is much appreciated.
> >
> > Thanks,
> >
> > Paul
> >
> > *Paul Meems *
> > Release manager, configuration manager
> > and forum moderator of MapWindow GIS.
> > www.mapwindow.org
> >
> > Owner of MapWindow.nl - Support for
> > Dutch speaking users.
> > www.mapwindow.nl
> >
> >
> >
> > *The English presentations of the MapWindow GIS Conference 2014 are
> online.
> > <http://www.slideshare.net/mapwindow>*
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141220/59eeea3a/attachment.html>


More information about the gdal-dev mailing list