MagickCore bug on Windows 64 bit
Posted: 2011-07-21T16:12:27-07:00
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
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