I’m getting the dreaded DLLnotfoundexception for the gdal_wrapper.dll when running a super simple script in an attempt to use the GDAL csharp libraries from http://trac.osgeo.org/gdal/wiki/GdalOgrInCsharp
From here: http://vbkto.dyndns.org/sdk/ under “GDAL and MapServer latest release versions” I’ve taken the MSVC2005 (Win32) release, thinking MSVC2005 would be .NET 2.0, and 32bit. Inside the download I took the dll’s out of \bin\gdal\csharp.
With gdal_csharp.dll in my project Plugins folder and gdal_wrapper.dll in C:\Program Files (x86)\Unity\Editor, I get DLLnotfoundexception for the gdal_wrapper.
I’ve pasted gdal_wrapper all over the place, including windows/system32, root of my Unity Project, so on and so forth… with no luck. I’ve also tried adding various locations to my PATH, and trying other releases like the MSVC2008, the 2005 64bit (I’m on Vista64 SP2), all with the same result.
I’ve successfully used Maptools, with its maptools.dll in the Unity project’s Plugins folder and shaplib.dll in C:\Program Files (x86)\Unity\Editor. Works. Linky: http://shapelib.maptools.org/dl/contrib/DotNetArchive.zip. I was so excited to get the Maptools stuff working then on to this and the big ‘whomp whomp’ tuba sound Any ideas, or even how would I go about troubleshooting this? Maybe I am missing a Microsoft redistributable?
much appreciated
T