Creating Applications with libunicapgtk
To compile the sample code in this tutorial and link it against
libunicapgtk, use the following command:
gcc `pkg-config --cflags --libs libunicapgtk` -o tut_X_X tut_X_X.c
Replace 'tut_X_X' with the name of the .c file
In this tutorial, we create a complete application to
capture and display video images. To start with, we need an
empty window and a GTK main loop which is created with the
following code: