Page 1 of 1

Building ImageMagick source for Windows

Posted: 2008-07-15T17:41:43-07:00
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.

Re: Building ImageMagick source for Windows

Posted: 2008-07-15T18:45:38-07:00
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.

Re: Building ImageMagick source for Windows

Posted: 2008-07-15T19:32:24-07:00
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.

Re: Building ImageMagick source for Windows

Posted: 2008-07-15T21:21:28-07:00
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.

Re: Building ImageMagick source for Windows

Posted: 2012-06-12T23:52:09-07:00
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!