Q = square(newbie)

Yo!

I’m a beginner programmer - I use Dev-C++ and I have managed to compile a
"Hello World" program and that’s about it! :slight_smile: But I want to go further and I
picked up somewhere that libsdl is nice! and I’d really like to try it out…
Now here’s my problem:

I downloaded the SDL-devel… for mingw32 and unpacked it. There I find
several documents talking about makefiles etc but i don’t know how to do all
that so I move on. And then I find a file name i386-mingw32msvc.zip! Aha! I
unpack it and find several folders and files. Now, I have read on some
tutorials here and there that “lib” and “dll”-files is what it’s all about!
Well i look in the lib folder and find what seems to be 3 lib-files and 1
dll-file. I must have hit the Jackpot! …Then something else hits me - what
do I do now? Are these really the files I’m looking for? Why are there 3 lib
files? Where do I put them? Who can I ask? - In other words - How do I
’enable’ SDL on my computer?

…I kinda have this feeling that these are very trivial questions and maybe
not the kind of questions that this newsgroup deal with. In that case I’d be
forever happy if someone could give me a link to some place somewhere where
I belong so that I can continue my quest for knowledge! :slight_smile: I will not go
quietly into the night!

Love
/Oscar

Yo!

I’m a beginner programmer - I use Dev-C++ and I have managed to compile a
"Hello World" program and that’s about it! :slight_smile: But I want to go further and
I
picked up somewhere that libsdl is nice! and I’d really like to try it
out…
Now here’s my problem:

I downloaded the SDL-devel… for mingw32 and unpacked it. There I find
several documents talking about makefiles etc but i don’t know how to do
all
that so I move on. And then I find a file name i386-mingw32msvc.zip! Aha!
I
unpack it and find several folders and files. Now, I have read on some
tutorials here and there that “lib” and “dll”-files is what it’s all
about!
Well i look in the lib folder and find what seems to be 3 lib-files and 1
dll-file. I must have hit the Jackpot! …Then something else hits me -
what
do I do now? Are these really the files I’m looking for? Why are there 3
lib
files? Where do I put them? Who can I ask? - In other words - How do I
’enable’ SDL on my computer?

…I kinda have this feeling that these are very trivial questions and
maybe
not the kind of questions that this newsgroup deal with. In that case I’d
be
forever happy if someone could give me a link to some place somewhere
where
I belong so that I can continue my quest for knowledge! :slight_smile: I will not go
quietly into the night!

Love
/Oscar

No problem, you have to find sdl_main.a and sdl.a, put them into the lib
folder of dev-c++, then put the sdl sourcecode folder in the include folder,
the sdl.dll is needed by the compiled programms put it into the same folder
as the compiled programm. In dev-c++ edit thecompiler options and add these
commands to the compiler comand: -lmingw32 -lSDLmain -lSDL -mwindows

if you don’t have the *.a files emh, search them, i don’t know where to find
them! They should be in the i386-mingw32msvc.zip or tar.gz! don’t compile
the testgl.c, i doesn’t compile, for this part, ask another!

----- Original Message -----
From: soul8o8@hotmail.com (Oscar)
To:
Sent: Tuesday, June 26, 2001 7:46 PM
Subject: [SDL] Q = square(newbie)