Re: Combining GTK+ and C++

2006-10-14 Thread Chris Vine
On Friday 13 October 2006 00:26, Nickolai Dobrynin wrote: > Hi! > > Are there any well-known C++ applications that use GTK+ behind the scenes? > Any links to those? > > For some reason, I'm having rough time wrapping GTK+ in C++ in a way that > makes the life span of the > wrapping object equal to

Re: static linking on mingw/msys

2006-10-14 Thread Martin Schmeisser
On 10/14/06, Michael Torrie <[EMAIL PROTECTED]> wrote: > > On Fri, 2006-10-13 at 21:10 +0200, Martin Schmeisser wrote: > > Hi List, > > > > i tried to compile a rather simple Gtkmm app with static linking for > Windows > > platforms (compiling on a win box too). I used Mingw/Msys and the > > gtkmm-

Re: Determining if GTK is installed

2006-10-14 Thread Chris Vine
On Thursday 12 October 2006 22:21, David Vandepol wrote: > Hi, > > I am working on an installer that prereqs GTK, I was wondering if > there was a known algorithm for determining whether GTK is installed on the > system, and what the level is. Also is there a different way to do this > depen

Re: Combining GTK+ and C++

2006-10-14 Thread Nickolai Dobrynin
Chris, This seems pretty helpful, indeed. The only thing I am wondering about is why there is no knowledge base of some sort that addresses that particular issue of getting GTK+ and C++ to interoperate. I have no doubt in my mind that so many people could use that. And the link that you sent sh

Re: static linking on mingw/msys

2006-10-14 Thread Tor Lillqvist
Martin Schmeisser writes: > Hehe, darn, thats why. So is there a way to find out what dlls it linked > againts? Of course there is, "link -dump -imports" or "objdump -p". But recall that GTK+ also loads DLLs dynamically (gdk-pixbuf loaders mainly, but also theme engines for instance). It also r

Re: Determining if GTK is installed

2006-10-14 Thread Tor Lillqvist
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-con

Re: Determining if GTK is installed

2006-10-14 Thread Eduardo M KALINOWSKI
Chris Vine wrote: > On Thursday 12 October 2006 22:21, David Vandepol wrote: > >> Hi, >> >> I am working on an installer that prereqs GTK, I was wondering if >> there was a known algorithm for determining whether GTK is installed on the >> system, and what the level is. Also is there a di

Re: Determining if GTK is installed

2006-10-14 Thread Chris Vine
On Saturday 14 October 2006 12:14, Tor Lillqvist wrote: > 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,

Re: static linking on mingw/msys

2006-10-14 Thread Martin Schmeißer
Am Samstag, den 14.10.2006, 14:06 +0300 schrieb Tor Lillqvist: > Martin Schmeisser writes: > > Hehe, darn, thats why. So is there a way to find out what dlls it linked > > againts? > > Of course there is, "link -dump -imports" or "objdump -p". But recall > that GTK+ also loads DLLs dynamically

Re: static linking on mingw/msys

2006-10-14 Thread Michael Torrie
On Sat, 2006-10-14 at 10:12 +0200, Martin Schmeisser wrote: > > > On 10/14/06, Michael Torrie <[EMAIL PROTECTED]> wrote: > On Fri, 2006-10-13 at 21:10 +0200, Martin Schmeisser wrote: > > Hi List, > > > > i tried to compile a rather simple Gtkmm app with static >