Re: Invalid GLib version in gtk+ bundle



> *** 'pkg-config --modversion glib-2.0' returned 2.16.5, but GLIB (2.12.11)
> *** was found!

> That's funny because 2.12.11 is the version of gtk+, not glib.

Well, there has been a GLib version 2.12.11, too, in March 2007.

It is likely that you have the DLLs from GLib 2.12.11 installed
somewhere in your PATH, or even the Windows System32 folder (where
they *never* should be), perhaps without realizing.

This surely should be self-evident, but the glib_major_version etc
variables tell the version of the actual GLib DLL the code uses at
run-time, while the GLIB_MAJOR_VERSION etc macros tell the version of
GLib headers it was compiled against.

--tml


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