Re: [OT] Problem building gd-2.0.35 library

[email protected] (Mark Dootson) Tue, 04 Dec 2012 10:20:56 +0000
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
Hi

On 04/12/2012 07:53, Sisyphus wrote:
> Hi,
>
> Obviously way OT for this list - but I see that Strawberry ships with
> gd-2.0.35, so I'm hoping someone here has faced (and solved) the problem
> I've struck.

For Citrus I use cmake on Windows, Linux and MacOSX.  My notes for 64 
bit mingw build are:

# - remove -m32 flag in top CMAKEfiles.txt for 64 bit, then :-

cmake -G"MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=C:\buildprefix 
-DCMAKE_LIBRARY_PATH=C:\buildprefix\lib 
-DCMAKE_INCLUDE_PATH=C:\Projects\buildprefix\include -DENABLE_PNG=1 
-DENABLE_FREETYPE=1 -DENABLE_JPEG=1 -DCMAKE_RELEASE_TYPE=RELEASE ..\


My builds of freetype, jpeg and png are already in the prefix location.

Hope it helps.

Mark