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

kelly elton its.the.doc at gmail.com
Wed Dec 16 07:49:42 PST 2015


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/47dd94d3/attachment.html>


More information about the mapserver-users mailing list