This project has moved. For the latest updates, please go here.


Topics: Data Access
May 9, 2007 at 5:39 PM
Hello everyone,

i'm trying compile a simple program and i have compiled the SharpMap project, Extensions, etc... But give me a error :

System.DllNotFoundException: Not is possible load DLL 'ogr_wrap':

Linha 66: this.Filename = Filename;
Linha 67:
Linha 68: ogr.RegisterAll();
Linha 69:
Linha 70: _OgrDataSource = OGR.ogr.Open(this.Filename, 0);

Source File: D:\SharpMap\SharpMap-21021\SharpMap.Extensions\Data\Providers\OgrProvider.cs Linha: 68

I put the the ogr_wrap in /bin , winnt/system32, root folder of application, etc... and not work.

Ps. I am using the ogr for load maps of Mapinfo.

Please help me ......

Jun 19, 2007 at 10:38 AM
You also need the ogr_csharp.dll, gdal_csharp.dll, gdalconst_csharp.dll and osr_csharp.dll libraries. Find these in FWTools.