Re: win32: lib path problem with gtk+-bundle_2.14.6-20081216_win32.zip



> Unable to load image-loading module:
> c:/devel/target/afbf5c706f4e2c431365f6f150252d6a/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.dll

You must have updated your GTK+ installation only partially and use
the etc/gtk-2.0/gdk-pixbuf.loaders file from a previous version of
GTK+ with a new libgdk_pixbuf-2.0-0.dll. Or the other way around.

> When i snoop into the GTK DLL binaries from the bundle, i often find
> strings there like "c:/devel/target/...". Are these supposed to be
> hardcoded parts of the GTK DLLs or are these strings there by accident?

They are as intended. As long as one uses the GTK+ DLLs and the files
in etc exactly as in the zip file, and doesn't move DLLs around or mix
versions, it will work out fine.

There is code in gdk_pixbuf that checks if the start of the path to a
loader DLL in the gdk-pixbuf.loaders file matches the compiled-in
"install" path (the c:/devel/target/<hexstring>) and then
automatically replaces that with the actual installation path deduced
from the DLL location at run-time.

--tml


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