🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17481

Re: Desarrollando con GTK

#17481
From: batsman batsman
Date: Tue, 21 Dec 1999 00:00
48 lines
2626 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <385c0db2@news.arrakis.es>, Formigueiros wrote:
>Un saludo a todos. Me estoy introduciendo en la programaci�n con GTK, con el
>c.
>El hecho es que cuando intento compilar un programita de ejemplo no me hace
>nada y me salen unos errores. Me explico: Introduzco el siguiente comando en
>una xterm:
>
>gcc -wall ejemplo.c -o ejemplo 'gtk-config -cflags' 'gtk-config -libs'
>
>y me sale el siguiente error:
>
>gtk-config -cflags:No such file or directory
>gtk-config -libs:No such file or directory

Intenta con
gcc -Wall `gtk-config --cflags` `gtk-config --libs` ejemplo.c -o ejemplo

Con acentos invertidos y -- en vez de -.
Si sigue sin funcionar verifica que tienes bien instaladas las GTK.
Prueba con 
 $ gtk-config
a ver qu� te dice... A lo mejor no lo tienes en el path.

- -- 
              _           _                             
             | |__   __ _| |_ ___ _ __ ___   __ _ _ __  
             | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
             | |_) | (_| | |_\__ \ | | | | | (_| | | | |
             |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
  ________________________________________________________________
 |Visit   |  http://www.geocities.com/SiliconValley/Vista/2075    |
 |Linux   |  http://www.geocities.com/SiliconValley/Vista/4289    |
  ----------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQEVAwUBOF/Pj70Y27yr0iefAQHMKQgAiVQ46o4iQPGMSrapW9WnHf8zJWiBBJGK
vU7qM0Oshm6Rw0I9iCY/p+Q981EIgLZ+14gXhlGaYdBqAgKcPcA0N2NOWP+QWmzl
yo0Pn1Tk+bVrDfYc1QK4Vk/fmG5puUZldH8UFKqhqN3/xIvQyzFcOeLQb5aDJUmC
uqtzMjo1fFCxeGs7dH2YbWvUpNFU/MrzLepxAND3QGh6UkPXWsZI1/+U6pmQcu7D
vS7wQgFjTlknHXmOgp2cHFR3Y1U80fMEBmhmHntDULeRzAUVHU7pm8dhfViA9Rjk
NuT1UzqFJ+OD+jY5RJN1q9she1V46PP+nVL+XWQRjgm5IcmGMEiWyA==
=dWxC
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <l2jo38.7e3.ln@simpsons4ever>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <385c0db2@news.arrakis.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,920d2abc9313ea56
X-Google-Attributes: gidf86c8,public
From: batsman@simpsons4ever. (batsman)
Subject: Re: Desarrollando con GTK
Date: 1999/12/21
Message-ID: <l2jo38.7e3.ln@simpsons4ever>
X-Deja-AN: 563492290
Content-Transfer-Encoding: 8bit
References: <385c0db2@news.arrakis.es>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@uni2.es
X-Trace: m2newsread.uni2.es 945802219 62.36.6.168 (Tue, 21 Dec 1999 19:50:19 MET)
Organization: Wanadoo
Mime-Version: 1.0
Reply-To: Usa el programa de descodificación 
NNTP-Posting-Date: Tue, 21 Dec 1999 19:50:19 MET
Newsgroups: es.comp.os.linux.programacion