I start ocarina with a file. I play the song right away, and open a window so that gtk_main() can quit when closed.
I print some messages to the screen and I have a makefile to compile libsaria and gui code.