Re: [Gtk-osx-users] ige-mac-bundler and gtk_image_new_from_file




On Mar 25, 2011, at 10:28 AM, Shawn Bakhtiar wrote:

Thanks as always John,

But I did try importing everything in the {prefix}/lib and it still did not work. That was my first though. At this point I am just leaving it the way it is, and move on, I am assuming that pixbuf is not the same as cairo? Doesn't that cause bloat? To have two libraries that do the same thing?


Yes, there's a fair amount of overlap, which has I think been removed from Gtk3, IIRC what's in that thread. But gdk-pixbuf does some other stuff to prepare an image to put on the cairo surface and to cache it, and that part is still in place.

Anyway, if it works in the build directory and not in the bundle, it surely means that either something is missing from the bundle or the app can't find it. (Do you have LD_LIBRARY_PATH exported in your bundle? OSX uses that to find loadable modules. I don't think it normally needs to be set for gdk-pixbuf, though.) There should be some messages about not being able to find something in the console log; if there isn't, try a lower loglevel setting for the Gtk log domain.

Regards,
John Ralls







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]