Compiling helloworld.c

To compile the helloworld example, use:


       gcc -Wall `pkg-config gstreamer-0.6 --cflags --libs` helloworld.c \
             -o helloworld 
    

We use pkg-config to get the compiler flags needed to compile this application. Make sure to have your PKG_CONFIG_PATH environment variable set to the correct location if you are building this application against the uninstalled location.

You can run the example with (substitute helloworld.mp3 with you favorite MP3 file):


      ./helloworld helloworld.mp3