Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can I load tclmagick.dll if I didn't install the imagemagick?

11 views
Skip to first unread message

sunng

unread,
May 17, 2007, 1:59:23 AM5/17/07
to
hi

I want to use tclmagick in my program, but error occurred when I
executed the exe I made on another computer.

sounds like : couldn't load library "C:/document/sunng/local setting/
temp/tclxx.tmp" : this library or a dependent librarycould not be
found in library path

anybody knows is there and additional restrict of using tclmagick.dll?

thanks

sunng

sunng

unread,
May 17, 2007, 4:13:35 AM5/17/07
to
hi

I want to load tclmagick.dll in my program, but ,when I ran the exe
file on another computer (the exe file is made from my program), error
occurred, sounds like :

couldn't load library "C:/document/sunng/local setting/temp/tclxx.tmp"

invalid argument while executing "load (some path)/tclmagick.dll"

does anybody use to load tclmagick.dll? how can I resolve the
problem?

many thanks!

sunng

Roy Terry

unread,
May 17, 2007, 3:06:29 PM5/17/07
to

sunng wrote:
> hi
>
> I want to load tclmagick.dll in my program, but ,when I ran the exe
> file on another computer (the exe file is made from my program), error
> occurred, sounds like :
>
> couldn't load library "C:/document/sunng/local setting/temp/tclxx.tmp"
> invalid argument while executing "load (some path)/tclmagick.dll"

From checking the .dll using "depends", I would say that there are "hard
coded" references to various functions in several imagemagick DLLs in
the tclmagick code. So the answer, I think is no. You need at least a
minimal set of IM files installed in order to load tclmagick.

Rolf Schroedter

unread,
May 21, 2007, 2:15:51 AM5/21/07
to
Hi, is the problem solved now ?

This weekend I was contacted with a similar question,
and it came out that a wrong combination of TclMagick and
ImageMagick/GraphicsMagick binaries had been used see below).

Regards, Rolf

Rolf Schroedter wrote, On 18.05.2007 20:45:
> Hi Keith,
>
> did you download the correct TclMagick-Version ?
> TclMagick-0.44-Tcl849-GM-1.1.4-Q16-dll.zip to be used with
GraphicsMagick
> TclMagick-0.44-Tcl849-IM-6.1.9-Q16-dll.zip to be used with
ImageMagick
> (Sorry, if I'm asking a stupid question).
>
> I downloaded and unpacked TclMagick-0.44-Tcl849-IM-6.1.9-Q16-dll.zip.
> Then I downloaded and installed a fresh ImageMagick binary
>
http://www.imagemagick.org/download/binaries/ImageMagick-6.3.4-1-Q16-windows-dll.exe
> Afterwards I'm able to load the DLL with Tcl's [load] command:
>
> d:\Temp\TclMagick-IM\win\Release>tclsh
> % set tcl_patchLevel
> 8.4.13
> % pwd
> D:/Temp/TclMagick-IM/win/Release
> % load tclmagick.dll
> % package require TclMagick
> 0.44
> %%

Message has been deleted
0 new messages