[SDL] FW: Error when linking to SDL
Atrix Wolfe
atrix2 at cox.net
Thu Jul 10 12:13:01 PDT 2003
ah yeah, didnt see that
----- Original Message -----
From: "Gabriel Gambetta" <ggambett at artech.com.uy>
To: <sdl at libsdl.org>
Sent: Thursday, July 10, 2003 11:40 AM
Subject: RE: [SDL] FW: Error when linking to SDL
> gdb wouldnt help, hes saying hes getting compile time warnings :P
But it would help with this part of the question :)
> If I compile this like this:
> gcc -o test1.exe test1.c
> I get this output when I run it:
> Hello World
> With out changing the code at all, if I compile it like this:
> gcc -o test1.exe `sdl-config --cflags` `sdl-config --libs` test1.c
> The program will crash when I try to run it.
Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy
-----Original Message-----
From: Atrix Wolfe [mailto:atrix2 at cox.net]
Sent: Jueves, 10 de Julio de 2003 03:26 p.m.
To: sdl at libsdl.org
Subject: Re: [SDL] FW: Error when linking to SDL
gdb wouldnt help, hes saying hes getting compile time warnings :P
Lemke, these warnings look 100% harmless, i myself wouldnt worry about
them. Im not the kind of person to ignore compile warnings but this one
shouldnt give you any trouble.
----- Original Message -----
From: "Gabriel Gambetta" <ggambett at artech.com.uy>
To: <sdl at libsdl.org>
Sent: Thursday, July 10, 2003 11:05 AM
Subject: RE: [SDL] FW: Error when linking to SDL
gdb?
Lic. Gabriel Gambetta
ARTech - GeneXus Development Team
ggambett at artech.com.uy
-----Original Message-----
From: Lemke, Wesley [mailto:Wesley.Lemke at LibertyMutual.com]
Sent: Jueves, 10 de Julio de 2003 02:52 p.m.
To: sdl at libsdl.org
Subject: [SDL] FW: Error when linking to SDL
No one has any ideas on where to start looking for the problem?
> -----Original Message-----
> From: Lemke, Wesley
> Sent: Wednesday, July 09, 2003 10:30 AM
> To: 'sdl at libsdl.org'
> Subject: Error when linking to SDL
>
> I compiled SDL with cygwin. When compiling I saw this warning quite a
> lot, but it went smooth besides it:
>
> cc1: warning: changing search order for system directory
> "/usr/include/mingw"
> cc1: warning: as it has already been specified as a non-system
> directory
>
> I created a simple program:
>
> #include <stdio.h>
>
> int main(int argc, char* argv[]){
> printf("Hello World\n");
>
> exit(0);
> }
>
> If I compile this like this:
>
> gcc -o test1.exe test1.c
>
> I get this output when I run it:
>
> Hello World
>
> With out changing the code at all, if I compile it like this:
>
> gcc -o test1.exe `sdl-config --cflags` `sdl-config --libs` test1.c
>
> The program will crash when I try to run it.
>
> Any ideas on what the problem could be?
_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list