[mapserver-users] Fail on generate extension of mapscript for Tcl 8.5

Thiago Tiedtke dos Reis tiedtke at gmail.com
Mon Apr 26 17:35:00 PDT 2010


Hi folks,

Based in old version of tcl mapscrip for windows in this site:

http://msworkbench.sourceforge.net/

I'm trying to recompile a version of mapscript (5.6.2) tcl extension (based
on sdk pack of Tamas site, version 1500, windows 32bit).

Some modifications in path of files nmake.opt (root of mapserver src) and
Makefile.vc in tcl mapscript dir, the files were generated:

mapscript_wrap.c (using swig 1.3.39 and Tcl/Tk 8.5.8, from ActiveState)
mapscript.dll
mapscript.exp
mapscript.lib

But, when i try to load this dll in a Tclsh terminal (load mapscript.dll), a
strange error is shown, saying this:

couldn't load library "mapscript.dll": A function specified in the import
table could not be resolved by the system.  Windows is not telling which
one, I'm sorry.

I put this dll in same places of others dll from Tamas Package (
release-1500-dev\release-1500\bin ), and verified the dependencies with
depends.exe and nothing were pointed.

The two functions were exported (Mapscript_Init and Mapscript_SafeInit) in
dll, but it don't work ....

The files generated are here (rar file):
http://engemap-ped.dnsalias.org/conv/mapserver-5-6.rar or individual files:
http://engemap-ped.dnsalias.org/conv/mapserver-5-6


Thanks on advance, for any tips about this...

Thiago Tiedtke dos Reis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100426/e82a5e6c/attachment.htm>


More information about the MapServer-users mailing list