Building ImageMagick source for Windows

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
imagine

Building ImageMagick source for Windows

Post by imagine »

I want to build the ImageMagick source. I've downloaded the windows source for ImageMagick-6.4.2.

All the instructions I've seen say to use the configure program. For example:

"Next, launch your Visual Studio IDE and choose Open->Project. Select the configure workspace from the ImageMagick-6.?.?/VisualMagick/configure folder and press Open. Choose Build->Build Solution to compile the program and on completion run the program."

But, I cannot find the "VisualMagick" directory. Seems like it is missing from the ImageMagick-6.4.2-2.zip file. Do I have to get it from the source repository?

Thanks.

-A.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building ImageMagick source for Windows

Post by magick »

Did you download the ImageMagick Windows source in the windows folder at the ftp site? It consumes 30322130 bytes. Only the source distribution has the Windows configure program and installer.
imagine

Re: Building ImageMagick source for Windows

Post by imagine »

I downloaded the windows source from this page:
http://www.imagemagick.org/script/install-source.php
which points to this file.
ftp://ftp.imagemagick.org/pub/ImageMagi ... indows.zip

It's strange. Yesterday, I downloaded the zip file from that location and I didn't see the VisualMagic directory.
But today I downloaded the file again from the same location and VisualMagic directory is in the zip file.

Thanks.

-A.
imagine

Re: Building ImageMagick source for Windows

Post by imagine »

I used the configure program to to create a Visual Studio solution file: VisualDynamicMT. I got several errors building the CORE_magick project in nt-base.c file. I am just going to include a couple of errors.

Error 1 error C2143: syntax error : missing ';' before '.' c:\ImageMagick-6.4.2\magick\nt-base.c 1305 CORE_magick
Error 2 error C2275: 'HANDLE' : illegal use of this type as an expression c:\ImageMagick-6.4.2\magick\nt-base.c 1313 CORE_magick


I thought the windows zip file that I downloaded contained the source code for the ImageMagick-6.4.2 stable release. But since I got compile errors, I am not sure anymore. Is the zip file a snapshot of what was on the trunk when the zip file was created?

Thanks.

-A.
ronit
Posts: 2
Joined: 2012-06-12T23:23:22-07:00
Authentication code: 13

Re: Building ImageMagick source for Windows

Post by ronit »

I need to compile version 6.4.6 for x64 (old project being ported). In all of the places where I look, I cannot find a version of the source with the VisualMagick directory.
I did find a VisualMagick directory for 6.5.9, but I need 6.4.6.
Can I use the configure program from 6.5.9 to build the 6.4.6 source?
Is there somewhere I can find the right tools for 6.4.6?
Any ideas?

Thanks!
Post Reply