MagickCore bug on Windows 64 bit

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
sn4p
Posts: 7
Joined: 2011-07-21T13:54:35-07:00
Authentication code: 8675308

MagickCore bug on Windows 64 bit

Post by sn4p »

If I compile and run a MagickCore example (the first example for instance) on a Windows 64 bit OS, I get this runtime error:

Magick: no decode delegate for this image format `C:/Users/PHILIP~1/AppData/Local/Temp/magick-9HWtB227' @ error/constitute.c/ReadImage/532.

The same example on Windows 32 bit OS works perfectly.

I think they missed some compiler flags for the 64 bit version of MagickCore that sets the MAGICK_HOME path. Everytime you run the .exe you will get the same error except for the last 8 chars that are randomly generated (9HWtB227).

It doesn't matter if I set the MagickCoreGenesis path, the error still remains.

My 64 bit system is:
Windows 7 64 bit
Compiler: Visual Studio 2010
ImageMagick-6.7.1-0-Q16-windows-x64-dll.exe

My 32 bit system is:
Windows Server 2008 x86
Compiler: Visual Studio 2010
ImageMagick-6.7.1-0-Q16-windows-dll.exe
sn4p
Posts: 7
Joined: 2011-07-21T13:54:35-07:00
Authentication code: 8675308

Re: MagickCore bug on Windows 64 bit

Post by sn4p »

Update: When compiling IM 64 bit from scratch in VS and using those generated dlls it works. Something is odd with the 64 bit precompiled dlls. If you google this error you will see that a lot of third party apps/dlls get this error. My guess is that the system's temp dir is hard coded into the precompiled dlls search path.
Post Reply