Re: [GD-DEVEL] using static lib bgd_a.lib
| From: | Pierre | Date: | Sun, 03 Jun 2007 10:05:03 +0000 |
| Subject: | Re: [GD-DEVEL] using static lib bgd_a.lib | ||
| References: | 1 2 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-198@lists.php.net to get a copy of this message | ||
Hi Tom,
On 6/2/07, Tom Lee <tom_lee01@hotmail.com> 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