SDL and Dev C++

Hi, I’ve been trying to get SDL to work on Windows for some time now without
success. I’ve installed the package with SDL for Dev C++ and when I try to
compile a program it tells me that it can’t find SDL_Init or SDL_Quit and so
on. Can somebody help me?

Thanks for any help.

John T. Daly

John Daly wrote:

Hi, I’ve been trying to get SDL to work on Windows for some time now without
success. I’ve installed the package with SDL for Dev C++ and when I try to
compile a program it tells me that it can’t find SDL_Init or SDL_Quit and so
on. Can somebody help me?

Did you add the necissary linker flags?

http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1

Read the first section on setting up SDL and Dev-C++.

-Mike

Try this :
http://translate.google.com/translate?u=http%3A%2F%2Fprografix.games-creators.org%2Fdocument%2F170&langpair=fr|en&hl=fr&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools
It’s the translation of a french page.

Julien

Thanks for the information. I am now happily experimenting with SDL.

I originally tried to port a game that a friend of mine programmed to
windows (and gave up), its its one big 250 line loop with another 200 lines
of structs to make it look Object Oriented. It compiles but doesn’t run on
windows, that makes is MacOSX only. To bad, i made lots of graphics for it
and can’t even use it on my one PC.

Thanks again.> ----- Original Message -----

From: starmars@enunu.com (Michael Cabral)
To:
Sent: Wednesday, November 26, 2003 11:14 AM
Subject: Re: [SDL] SDL and Dev C++

John Daly wrote:

Hi, I’ve been trying to get SDL to work on Windows for some time now
without

success. I’ve installed the package with SDL for Dev C++ and when I try
to

compile a program it tells me that it can’t find SDL_Init or SDL_Quit and
so

on. Can somebody help me?

Did you add the necissary linker flags?

http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1

Read the first section on setting up SDL and Dev-C++.

-Mike


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl