> and from my experience it should compile with the following command.
>
> gcc -I/usr/local/include/directfb main.c

Your experience is wrong.  You also need to include a "-ldirectfb" on
the command line after your main.c (and you probably want "-o main" to
name the executable an appropriate name).  This is needed to tell the
linker that you're linking with the DirectFB library.

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to