DragonFly users List (threaded) for 2008-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: problem in gtk programming
On Sun, Oct 19, 2008 at 1:37 AM, dark0s Optik <shiftcoder@gmail.com> wrote:
> I am triyng to programming with gtk over DragonFly.
> The gcc output is:
>
> #gcc prova.c -o prova
> 1:21: error: GtkWidget undeclared
> 5: error: window undeclared
> 9: GTK_WINDOW_TOP_LEVEL undeclared
You have to -I/usr/pkg/include/gtk-2.0, among others.
The best way to do this for a single source file:
gcc `pkg-config gtk+-2.0 --libs --cflags` -o prova prova.c
--
Dmitri Nikulin
Centre for Synchrotron Science
Monash University
Victoria 3800, Australia
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]