i am newby on this…
i have instaled cigwin on my win xp
i copy .lib files on C:\cygwin\lib and the include files on C:\cygwin\usr\include\SDL then i have a test.c program that do
i am newby on this…
i have instaled cigwin on my win xp
i copy .lib files on C:\cygwin\lib and the include files on
C:\cygwin\usr\include\SDL then i have a test.c program that do
#include “SDL.h”
Try #include <SDL/SDL.h>
This works fine for me.
If you use your #include you should add the SDL-Include directory to
your compiler flags
(-I)
what should i do?
any documentation to suggest?
thanks
HTH,
HaukeAm Fre, 2003-03-28 um 18.31 schrieb Federico Berardi:
“Wir sind der Nato fest verpflichtet. Wir sind ein Teil der Nato.
Wir sind Europa fest verpflichtet. Wir sind ein Teil Europas”
(George W. Bush)
It works with my setup (Cygwin on WinXP, SDL compiled from source):
$ cat Makefile
CXX=gcc
OPCIONES=-g -Wall sdl-config --cflags
DIRECTORIOS=
BIBLIOTECAS=sdl-config --libs
Note that SDL libs are in E:\Cygwin\usr\local\lib and SDL includes in
E:\Cygwin\usr\local\include\SDL.
Best Regards,
^IoDream^> ----- Original Message -----
From: Federico Berardi
To: SDL at libsdl.org
Sent: Friday, March 28, 2003 6:31 PM
Subject: [SDL] compiling with cigwin
i am newby on this…
i have instaled cigwin on my win xp
i copy .lib files on C:\cygwin\lib and the include files on
C:\cygwin\usr\include\SDL then i have a test.c program that do
i am not include SDL.h using the directory (SDL/SDL.h) because i include the
directory with -I/usr/include/SDL
thanks anyway> ----- Original Message -----
From: hzuehl@athene.dnsalias.org (Hauke Joachim Zuehl)
To:
Sent: Friday, March 28, 2003 3:15 PM
Subject: Re: [SDL] compiling with cigwin
Hi
Am Fre, 2003-03-28 um 18.31 schrieb Federico Berardi:
i am newby on this…
i have instaled cigwin on my win xp
i copy .lib files on C:\cygwin\lib and the include files on
C:\cygwin\usr\include\SDL then i have a test.c program that do
#include “SDL.h”
Try #include <SDL/SDL.h>
This works fine for me.
If you use your #include you should add the SDL-Include directory to
your compiler flags
(-I)
what should i do?
any documentation to suggest?
thanks
HTH,
Hauke
“Wir sind der Nato fest verpflichtet. Wir sind ein Teil der Nato.
Wir sind Europa fest verpflichtet. Wir sind ein Teil Europas”
(George W. Bush)
– www.Argentina.com
E-mail Profesional y Acceso a Internet UltraVeloz totalmente GRATIS en
Buenos Aires, Rosario, Cordoba, Mendoza, Mar del Plata, Moreno, Merlo,
La Plata, Pilar, Escobar, Campana y Z?rate
if the header is given with quotes then it looks for it in the current
directory. if its in < and > characters, then it looks in the include paths.
I’ve got a similar problem with my compiler not finding some files - how do
you specify include paths? Is there a way other than using command line
options?