On Sat, Oct 11, 2008 at 6:03 PM, Guillermo Salas M. <[EMAIL PROTECTED]> wrote: > El sáb, 11-10-2008 a las 03:40 -0700, xploiting escribió: >> Hola lista, estoy aprendiendo a utilizar la librería GTK. >> >> Tengo instalado libgtk2.0-dev, y cuando compilo el programa, gcc me >> avisa que no encuentra <gtk/gtk.h>. >> >> El mensaje de error es exactamente: "ventana_simple.c:2:21: error: >> gtk/gtk.h: No existe el fichero o el directorio" >> >> ¿Alguien sabe porque ocurre? > > Tienes /usr/include/gtk-2.0/gtk/gtk.h ? > > Trata instalando libgtk1.2-dev. PUede ser que al compilar requieras las > librerias de la 1.2 y no de la 2.0 que tienes instalada. Si no funciona > trata con lsb-build-desktop3, segun http://packages.debian.org ese > paquete también instala un archivo gtk/gtk.h > (/usr/include/lsb3/gtk-2.0/gtk/gtk.h). > > Saludos, > > > > -- > Guillermo Salas M. > Telconet S.A. > Calle 15 y Avenida 24 Esquina > Edificio Barre #2 Primer Piso > Telefono : +593 5 262 7815 > Celular : +593 9 985 5138 > International : +1 360 968 1701 > e-mail : [EMAIL PROTECTED] > www : http://www.telconet.net > SIP : [EMAIL PROTECTED] > > Linux User : 255902 > > Beat me, whip me, make me use Windows! > > Please avoid the Top Posting, see > http://es.wikipedia.org/wiki/Top-posting >
Tambien puedes usar glade o glade-2, te genera el makefile y te ahorra una gran cantidad de trabajo. -- ItZtLi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

