[mapserver-users] Unable to load DLL 'csharpmapscript'

kelly elton its.the.doc at gmail.com
Wed Dec 16 08:06:52 PST 2015


I found this, it might be related
https://github.com/mapserver/mapserver/commit/42b48bc3284fe5d086a7e941be1634356d0a2dae

Thing is though, maybe that was supposed to fix it, but downloading the 7.0
source caused the same issue.

On Wed, Dec 16, 2015 at 10:49 AM kelly elton <its.the.doc at gmail.com> wrote:

> So I've compiled both mapscript 7 and 6.4 against the sdk from
> gisinternals on windows.
>
> cmake .. -DWITH_POSTGIS=0 -DWITH_CSHARP=1
> -DCMAKE_CURRENT_BINARY_DIR="C:\mapserver\swigwin-1.3.40"
> -DREGEX_DIR="C:\mapserver\regex-0.12"
> -DCMAKE_PREFIX_PATH="C:\mapserver\SDK\release-1800\bin;C:\mapserver\SDK\release-1800\include;C:\mapserver\SDK\release-1800\lib;c:\mapserver\regex-0.12;C:\mapserver\swigwin-1.3.40"
>
> Then I get the error when trying to use the mapscript library in .net
> Unable to load DLL 'csharpmapscript'
>
> If i load up the dll it's looking for the import 'csharpmapscript' which
> doesn't exist anywhere.
>
> So I tried renaming mapscript.dll to 'csharpmapscript.dll' and that gets
> past that point but throws an assert error.
>
> Any ideas what I might be missing here?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151216/e477bcdd/attachment.html>


More information about the mapserver-users mailing list