Mobile/DFBPorting: Difference between revisions

Line 357: Line 357:
** export PKG_CONFIG_PATH=/usr/local/dfb/lib/pkgconfig
** export PKG_CONFIG_PATH=/usr/local/dfb/lib/pkgconfig
* Write a “Hello world” GTK application: hell_world.c and compile it
* Write a “Hello world” GTK application: hell_world.c and compile it
** gcc `pkg-config --cflags –libs hello_world.c –o hello_world
** gcc `pkg-config --cflags --libs gtk+-2.0` hello_world.c –o hello_world
* Run hello_world
* Run hello_world
** A DirectFB window with hello_world widget inside should pop-up
** A DirectFB window with hello_world widget inside should pop-up