delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/16/08:32:37

From: mullinwm AT picard DOT ml DOT wpafb DOT af DOT mil (William M. Mullins)
Subject: ImageMagick et al.
16 Apr 1998 08:32:37 -0700 :
Message-ID: <3534E6DD.F7E59741.cygnus.gnu-win32@picard.ml.wpafb.af.mil>
Mime-Version: 1.0
To: "\"gnu-win32 AT cygnus DOT com\"" <gnu-win32 AT cygnus DOT com>

Working with ImageMagick-4.0.4, trying to port to cygwin32b19.1.  The
experience has been interesting.

First the libs, using egcs and da Silva's X11 libs

    libjpeg v6b compiles out-of-the-box (OOB)
    libz v1.1.2 compiles OOB
    libpng v1.0.1 compiles OOB
    libjbig  v1.0 compiles OOB
    libmpeg V1.2 compiles OOB
    libttf v1.0 compiles OOB

    libtiff v3.3b compiles OOB -- incompatable version with
                ImageMagick 4.0.4 !!!

    libtiff v3.4b compiles OOB -- incompatable with ImageMagick 4.0.4
                    through X11 libraries
        problem is definitions of BOOL in windows.h (int) and Xmd.h
        (unsigned char)
        stupid solution is to modify libtiff sources:
            dllshell.c     line 12     BOOL --> WINBOOL
            tif_win32.c    line144     BOOL --> WINBOOL
            tiffio.h       line 81    change line to:
                        #define __OBJC__
                        #include <windows.h>
                        #undef __OBJC__
        This forces the use of WINBOOL for the boolean in the windows
        calls and BOOL for the X11 calls.  It may break some codes
        but...

ImageMagick 4.0.4 now builds fine...works OK.  Only compile warnings are
have to do with "empty definitions in <Windows32/Structures.h>".  It
seems that the word "Status" somehow disappears/is redefined to " " or
something????  This does not effect the built executables though.

Build ImageMagick 4.0.4 with inclusion of da Silva's HDF libs (but not
his libz.a and libjpeg.a, they are earlier versions) gives similar
complaints, but succeeds.  Have not yet tested the results on HDF files,
but is work fine on all the jpegs, pngs, tiffs and gifs I have thrown at
it.

Next, mpeg_encode 1.5b-patched compiled with little/no problems and
passed at the tests.

The netpbm package compiled without many problems.


If anyone is interested in the binaries, I can provide them
individually, but I have no ability to post them!

Sorry about the long discourse.


W. M. Mullins




-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019