Re: [GD-DEVEL] using static lib bgd_a.lib
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Tom, On 6/2/07, Tom Lee <[email protected]> wrote: > > > >Hello, > > > >I tried to use bgd_a.lib instead of bgd.lib from gd-2.0.34-win32.zip. > >using bgd.lib has no link error while the static lib bgd_a.lib won't work. > >I added #define NONDLL 1 to gd.h for using bgd_a.lib but the link will > >complain about many missing functions. > > > Any suggestions about how to use bgd_a.lib? thanks. I would suggest to compile it yourself. It is relatively easy using the VC makefiles in windows/ or cmake. This mail explains the procedure: http://news.php.net/php.gd.devel/176 You can the NODLL define in both files if required. Let us know if you succeed or if you have any other questions :) Regards, --Pierre