Re: [GD-DEVEL] libgd for MinGW

From: Date: Thu, 22 May 2008 11:50:24 +0000
Subject: Re: [GD-DEVEL] libgd for MinGW
References: 1  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-438@lists.php.net to get a copy of this message
HI John, On Thu, May 22, 2008 at 12:40 PM, John Atkeson <jcatkeson@gmail.com> wrote: > Hi, > > Where can I find libgd pre-compiled for MinGW? > All I think I need are the *.a files (something like 'libgd.a') and > the DLLs if any. I did not have built yet binaries for MingW but the following call using CVS head should do it: cmake -G"MinGW Makefiles" -DCMAKE_LIBRARY_PATH=c:\mingw\lib -DCMAKE_INCLUDE_PATH=c:\MinGW\include -DENABLE_JPEG=On -DBUILD_TEST=On -DCMAKE_RELEASE_TYPE=DEBUG ..\libgd_head Using a classic CMD.exe (not MSys). All you need is to install CMake (2.4 but should work with 2.6 too). Given that your installed the dependencies in c:/mingw, update the CMAKE_XXX_PATH according to your path. 2.0.36RC3 is coming, I will provide binaries for mingw, vc6/7/8. If it works well, I will keep them for the final releases as well. An alternative solution would be to user Roger's build (by the way, Roger, feel free to drop me a mail with your makefile, I can commit it). Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.gd.devel (#438) next »