🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Compilar aplicaciones SDL

#11538
From: Luis Angel Fernández Fernández
Date: Wed, 31 Oct 2001 08:17
34 lines
1957 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

zx128k wrote:

> Hola a todos/as, acabo de compilar la librer�a SDL, en mi Slackware
> 8.
> 
> 
> No he encontrado la forma de compilar un programa de ejemplo.
> 
> 
> Me dice que no sabe donde esta la librer�a SDL.h
> 
> 
> Porfavor que alguien conteste, y me diga que ordenes le doi al gcc
> o al g++

  Con sdl-config --cflags tienes los '-I' que necesitas y con 
sdl-config --libs los '-L', con lo cual puedes poner:
  g++ `sdl-config --cflags --libs` ficheroFueente.cc

  Ta llueu

- -- 
  Clave GPG: http://muxin.yi.org:2080/miKey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE737OBsrzbHhG/hp8RAlPiAJ9CzmNPkj1xljy8NCxbiGRdnVLtcwCgn1Gc
VoFydCwJOmQheHm2ffuoHbc=
=ZnNd
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <3bdfb241@filemon.telecable.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsfeed.bt.es!news.bt.es!filemon.telecable.es
References: <9rn2b5$bc6$1@diana.bcn.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,ee7ae8a58fd1afa1
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-10-31 00:27:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsfeed.bt.es!news.bt.es!filemon.telecable.es
From: Luis Angel Fernández Fernández <koxo@wanadoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Compilar aplicaciones SDL
Date: Wed, 31 Oct 2001 09:17:08 +0100
Organization: Ninguna
Lines: 35
Message-ID: <3bdfb241@filemon.telecable.es>
References: <9rn2b5$bc6$1@diana.bcn.ttd.net>
Reply-To: koxo@wanadoo.es
NNTP-Posting-Host: filemon.telecable.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: titan.bt.es 1004515631 20617 212.89.0.4 (31 Oct 2001 08:07:11 GMT)
X-Complaints-To: abuse@bt.es
NNTP-Posting-Date: 31 Oct 2001 08:07:11 GMT
User-Agent: KNode/0.6
X-Original-NNTP-Posting-Host: cm03644.telecable.es
X-Original-Trace: 31 Oct 2001 09:11:46 +0100, cm03644.telecable.es