I'm developing an application which needs to read some weird image formats, and ImageMagick seems to solve my problems. However, I can't ask my users to install ImageMagick separately, so I need to include the libraries in my installer.
I'm using Windows XP SP3, Borland Delphi 2005, InstallShield 2008 Express, and PascalMagic. The program runs fine on my development machine (which has ImageMagick installed), but when installed on an end-user machine it can't find the ImageMagick libraries. InstallShield can include the DLL files (ie. CORE_RL_wand_.dll) and put them in the program directory, but they're not self-registering (regsvr32.exe doesn't work).
What do I need to do to register the ImageMagick shared libraries on a target machine, or otherwise ensure that my program can find them? Also, are there any other registry changes or configuration files that are absolutely necessary for proper operation?
Including ImageMagick modules in my installer?
Re: Including ImageMagick modules in my installer?
Hi,
I was wondering did you find a solution to your problem? I have almost the same issue. I have an application that uses ImageMagick (Visual C++ .Net application) and have problem running it on other computers other than mine. It run with no problem on my computer, but when I want to move it on another computer it just doesn't work!
I appreciate your help.
I was wondering did you find a solution to your problem? I have almost the same issue. I have an application that uses ImageMagick (Visual C++ .Net application) and have problem running it on other computers other than mine. It run with no problem on my computer, but when I want to move it on another computer it just doesn't work!
I appreciate your help.
Re: Including ImageMagick modules in my installer?
Take a look at the portable Win32 static at 16 bits-per-pixel. Just copy to your host and run (no installer, no Windows registry entries). See http://www.imagemagick.org/download/bin ... indows.zip.
Re: Including ImageMagick modules in my installer?
Thanks Magick. I should have mentioned that I am using the ImageMagick version with dll so this won't work as my program still looks for Core_RL_Magick++.dll. Any other suggestions? I really appreciate your help.
Re: Including ImageMagick modules in my installer?
You can link your program against the portable static release of ImageMagick. Since we do not provide a dynamic portable release of ImageMagick your other option is to build a portable dynamic release of ImageMagick yourself (comment out the MAGICKCORE_INSTALLED_SUPPORT symbol in magick/magick-config.h).
Re: Including ImageMagick modules in my installer?
Hi Magick, thanks for your response.
First of all, isn't this MAGICKCORE_INSTALLED_SUPPORT commented out by default? I checked the code and it seems that way to me. I just wanted to double check with you.
I tried to create a dynamic portable version, but I seem to not be able to get it completely working. When I try to run my application in visual studio .net (c++),
the program compiles, but at run time I get this error:
The procedure entry point??0Geometry@Magick@@QAE@IIJJ_N0@Z could not be located in the dynamic link libaray CORE_RL_Magick++_.dll
any idea what causes the problem?
Thanks,
First of all, isn't this MAGICKCORE_INSTALLED_SUPPORT commented out by default? I checked the code and it seems that way to me. I just wanted to double check with you.
I tried to create a dynamic portable version, but I seem to not be able to get it completely working. When I try to run my application in visual studio .net (c++),
the program compiles, but at run time I get this error:
The procedure entry point??0Geometry@Magick@@QAE@IIJJ_N0@Z could not be located in the dynamic link libaray CORE_RL_Magick++_.dll
any idea what causes the problem?
Thanks,
Re: Including ImageMagick modules in my installer?
I'm also working on this problem, but just started. Keep me up to date, I'm also using the COM object.
So far as I understand, we need to get the following file working and it needs to be registered with Windows:
ImageMagickObject.dll
See below:
http://imagemagick.linux-mirror.org/scr ... d8da1e7696
So far as I understand, we need to get the following file working and it needs to be registered with Windows:
ImageMagickObject.dll
See below:
http://imagemagick.linux-mirror.org/scr ... d8da1e7696