Command line for compiling

Ian Davidson id012c3076 at blueyonder.co.uk
Tue Dec 17 13:30:56 PST 2013


I have previously written a 'console type' GStreamer application which 
works nicely - but my 'user audience' would prefer something a little 
more 'GUI'.  So I am having to recompile with a GUI interface.

When I complied my original program, I used a command line such as
gcc -Wall foo.c -o foo $(pkg-config --cflags --libs gstreamer-1.0)

When I started to experiment with my GUI interface (and before I 
included the GStreamer stuff) I compiled with a command such as
gcc -Wall -g bar.c -o bar `gtk-config --cflags`  `gtk-config --libs`

When I add the GStreamer stuff, how do I need to modify the command line 
so as to allow both GTK and GStreamer?

Ian



More information about the gstreamer-devel mailing list