Request for help from SDL gurus

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
sparda
Chaos Rift Junior
Chaos Rift Junior
Posts: 291
Joined: Tue Sep 23, 2008 3:54 pm

Request for help from SDL gurus

Post by sparda »

I've finally decided to plunge into some SDL baby! But I ran into a bit of a problem, and was hoping some SDL gurus could help me (Falco, Marcel, Marauder, etc). First of, understand why there is a problem: I hate Dev C++, and I want to use the terminal instead. Now, that means that I'll be using Code::Blocks for text highlighting, or simply raw MinGW (which Dev C++ runs under anyway) from the command line to do my coding. But the base SDL is simple, I just downloaded the MinGW development files. And set up the environment in a makefile, using the proper lib and include path, like so:

Code: Select all

-Ic:/SDL/include -Lc:/SDL/lib -lmingw32 -lSDLmain -lSDL
Of course, I know the order is important if not some stupid error message pops up about @Main or something.

What I want is information on SDL_image, as thats all I need right now regarding external SDL libraries. You see, SDL_image, I've heard, bitches under windows when there is an attempt to compile it. the TTF library has some major bugs I hear.

So the real question is: does anyone know of a compiled SDL_image for MinGW? I've searched everywhere and I either get: outdated useless information, or just plain err. I decided to ask for help, instead of attempting to compiling this beast under VISTA!!!! oh, no! If no one has any information, no problem, I'll just try to compile SDL_image natively. I just thought I should ask you guys first. Any help is appreciated.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Request for help from SDL gurus

Post by MarauderIIC »

sparda wrote:I've finally decided to plunge into some SDL baby! But I ran into a bit of a problem, and was hoping some SDL gurus could help me (Falco, Marcel, Alex, etc).
Fix'd, just since it seems weird to call 2/3 by actual names :P

So you need a Win32 binary, right?

http://www.google.com/search?hl=en&q=%2 ... inary+ming
link 2 is
http://www.sdltutorials.com/sdl-image/
which says
http://www.libsdl.org/projects/SDL_image/
but more specifically says
>>> http://www.libsdl.org/projects/SDL_imag ... -win32.zip <<<
as opposed to
http://www.libsdl.org/projects/SDL_imag ... .6-VC8.zip

He seems to be using MinGW. Let me know if that works for you. Hopefully you have 32-bit vista. :)
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
Post Reply