Re: Determining if GTK is installed



Chris Vine writes:
On unix-like OSs there is pkg-config (and if you use autoconf, the autoconf 
PKG_CHECK_MODULES macro).

Not necessarily if only run-time packages are installed on the
machine. pkg-config is a developer tool, not something software would
need at run-time. And even if pkg-config itself is installed, the gtk+
eveloper package (including its .pc file) need not be.

I do not know about Windows.

pkg-config exists for Windows, too, and many people who build GTK+
software (those who use the GNU toolchain and "normal"
autoconfiscation for their software) do use it. Typically those that
use the Microsoft toolchain don't use it, though. pkg-config
definitely isn't going to be present on end-user Windows machines,
even if there is a GTK+ runtime on the machine.

--tml




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