Command line for compiling

Ian Davidson id012c3076 at blueyonder.co.uk
Wed Dec 18 03:30:33 PST 2013


Thanks Tim,

You were right to guess that I was using Gtk+ 1.2.  This was not a 
deliberate choice, but based on ignorance - I did not realise that there 
were any other flavours.

I have now 'ported' my GUI to Gtk+3.0 and can make progress..Once again, 
thanks for your help.

Ian

On 17/12/2013 23:02, Tim Müller wrote:
> So, first of all, if I'm not mistaken your use of gtk-config implies
> that you are using an ancient version of Gtk+, namely Gtk+ 1.2. Is this
> correct? This would then also use an ancient GLib 1.2, which is not
> API/ABI compatible with modern GLib/Gtk applications, and you can't use
> GStreamer 1.0 (or 0.10 or 0.8) with GLib 1.2, only with GLib 2.0. But I
> might be mistaken about all of this of course.
>
> So in any case, make sure to use either Gtk+ 2.x or 3.x which both use
> GLib 2.x. Then what should work is:
>
> gcc -Wall foo.c -o foo $(pkg-config --cflags --libs gstreamer-1.0 gtk
> +-3.0)
>
> Cheers
>   -Tim
>



More information about the gstreamer-devel mailing list