Re: Load Error
| From: | Andrei Zmievski | Date: | Fri, 24 Mar 2006 05:51:45 +0000 |
| Subject: | Re: Load Error | ||
| References: | 1 2 3 4 5 6 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6816@lists.php.net to get a copy of this message | ||
Scott,
It already should be conditionally enabled. Check the code:
#if HAVE_GD_BUNDLED
..
#endif
You can still have a problem though, if you compile PHP-GTK against headers from PHP that had GD and then try to run it against a binary that doesn't have GD. I don't think we can do much about that since the linker tries to resolve the symbols when you load the .so.
If you think that this will be too troubling and confusing, I guess we can remove this function..
-Andrei
On Mar 23, 2006, at 11:28 AM, Scott Mattocks wrote:
Great Eddie. Glad to hear you got it working. Andrei (or Steph or Christian or anyone else that knows), Is it possible to conditionally enable GdkPixbuf::new_from_gd() depending on whether or not gd is available? Conditionally enabling may not be the right term here, but at least allow PHP-GTK 2 to run if they don't have gd enabled and only fail when a *gd() method is called? Thanks, Scott --PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php