How to know my GTK+ version?

2012-01-31 Thread Manuel Ferrero
I downloaded the all-in-one bundle for Win32, version 2.24.8, unzipped it and copied it in my disk, then I added the bin path to PATH variable. Now I can compile and run a simple program. I read on some webpage how to know my GTK version with the following command line: pkg-config --variable

Re: How to know my GTK+ version?

2012-01-31 Thread David Nečas
On Tue, Jan 31, 2012 at 11:31:59AM +0100, Manuel Ferrero wrote: I downloaded the all-in-one bundle for Win32, version 2.24.8, unzipped it and copied it in my disk, then I added the bin path to PATH variable. Now I can compile and run a simple program. I read on some webpage how to know my

Re: How to know my GTK+ version?

2012-01-31 Thread Dieter Verfaillie
manually. Now I can compile and run a simple program. I read on some webpage how to know my GTK version with the following command line: pkg-config --variable=gtk_binary_version gtk+-2.0 but the output I get is: 2.10.0 Looks like some other GTK+ installation is also on PATH, before the entry

Re: How to know my GTK+ version?

2012-01-31 Thread Dieter Verfaillie
On Tue, 31 Jan 2012 11:31:59 +0100, Manuel Ferrero wrote: I read on some webpage how to know my GTK version with the following command line: pkg-config --variable=gtk_binary_version gtk+-2.0 Ah, noticed you might want to use --modversion instead of --variable=gtk_binary_version in addition

Re: How to know my GTK+ version?

2012-01-31 Thread Manuel Ferrero
Il 31/01/2012 12.06, David Nečas ha scritto: Gtk binary version defines the ABI version for extension modules. So it does not increase unless the ABI changes. Run pkg-config --modversion gtk+-2.0 to get the Gtk+ version. Thanks, it returns 2.24.8 -- Regards, Manuel Ferrero RD

Re: How to know my GTK+ version?

2012-01-31 Thread Manuel Ferrero
Il 31/01/2012 12.09, Dieter Verfaillie ha scritto: On Tue, 31 Jan 2012 11:31:59 +0100, Manuel Ferrero wrote: I downloaded the all-in-one bundle for Win32, version 2.24.8, unzipped it and copied it in my disk, then I added the bin path to PATH variable. Changing system or user PATH env vars

Re: How to know my GTK+ version?

2012-01-31 Thread Dieter Verfaillie
On Tue, 31 Jan 2012 12:30:52 +0100, Manuel Ferrero wrote: Il 31/01/2012 12.09, Dieter Verfaillie ha scritto: The most flexible solution is to build yourself a wrapper script (.bat or .cmd) or in case you use MinGW/MSYS a shell script, that exports PATH, PKG_CONFIG_PATH and other search paths