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

Paul Meems bontepaarden at gmail.com
Sat Dec 20 06:56:30 PST 2014


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.

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
But that is the location of the dll. I've double checked. Even the casing
is correct.
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>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141220/03d44a1f/attachment-0001.html>


More information about the gdal-dev mailing list