Starting with SDL

Helo!

        Im new to SDL, and also to C programing. I have found myself

with SDL looking for a lib to handle graphics, wich i could use to makeing a
game.

I want to ask a simple question…
My idea is, as im learning C programing day to day, to make a multiplayer
game, wich i can use a Client for windows and unix, and a Server for Unix.
The question i have now, is with Windows… is it possible for example, to
write programs in C, for example with Turbo C, with the SDL library?
I suppossed that i could, so i downloaded the SDL devel, and copied the
include / lib files to the respective TurboC directorys.
I think it was a bad idea because it didnt work… lots of error messages,
etc…

May be SDL is just for using with Visual C or some other C programing
enviroment wich i dont have or i dont know?

I have been looking at the SDL Official web site, and it was strange because
i havent find any information about how to implement SDL in Windows C/C++
enviorments.

Thanks for your time. I will apreciate any help :slight_smile:

Bye!

Hello.

Tuesday, May 20, 2003, 10:01:20 AM, you wrote:

I want to ask a simple question…
My idea is, as im learning C programing day to day, to make a multiplayer
game, wich i can use a Client for windows and unix, and a Server for Unix.
The question i have now, is with Windows… is it possible for example, to
write programs in C, for example with Turbo C, with the SDL library?
I suppossed that i could, so i downloaded the SDL devel, and copied the
include / lib files to the respective TurboC directorys.
I think it was a bad idea because it didnt work… lots of error messages,
etc…
Turbo C it is not Windows compiler - it is DOS compiler.
AFAIK, DOS not supporting by SDL.

May be SDL is just for using with Visual C or some other C programing
enviroment wich i dont have or i dont know?

I have been looking at the SDL Official web site, and it was strange because
i havent find any information about how to implement SDL in Windows C/C++
enviorments.

Look “Frequently Asked Questions: Windows” at the SDL Official web
site. There are writen:

Q: What is supported?
SDL can be built with Visual C++, Borland C++, Cygwin, MinGW, Dev-C++, and Watcom C++.

SDL takes advantage of DirectX hardware acceleration when it is available, but falls back to the standard Win32 services if DirectX is not installed.A: SDL supports Windows 95/98/NT/ME/2000/XP.


Best regards,
Sashnov Alexander mailto:@Sashnov_Alexander

http://www.libsdl.org/faq.php

Thanks you very much for your reply!

I have been reading, and i downloaded DevCPP. And i have started learning
C++ (Object oriented, not structured as i kew it).

So first i will learn up to a decent level of C++, then i will start with
SDL.

Thanks again :slight_smile:
Eduardo Garcia Rajo (h)------------------------------------------------------------------
Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: sashnov@ngs.ru (Sashnov Alexander)
To: eDU!
Sent: Tuesday, May 20, 2003 3:52 AM
Subject: Re: [SDL] Starting with SDL

On this topic, is there a way to get SDL_image library
to work with Dev-C++? So far I have only been able to
do it in VC++, but I hate VC++ (microsoft product). If
this has been answered or in faqs sorry.

Rafik

— eDU! wrote: > Thanks
you very much for your reply!>

I have been reading, and i downloaded DevCPP. And i
have started learning
C++ (Object oriented, not structured as i kew it).

So first i will learn up to a decent level of C++,
then i will start with
SDL.

Thanks again :slight_smile:
Eduardo
Garcia Rajo (h)


Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Sashnov Alexander
To: eDU!
Sent: Tuesday, May 20, 2003 3:52 AM
Subject: Re: [SDL] Starting with SDL


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


Post your free ad now! http://personals.yahoo.ca

Hey Eduardo,

you dont have to learn object oriented programming to use SDL. SDL itself
is procedural which is the way that you are familiar with. Just because its
C++ doesnt mean you have to write object oriented code.

Hope this helps!
Atrix> ----- Original Message -----

From: quaker@advancedsl.com.ar (eDU)
To:
Sent: Tuesday, May 20, 2003 12:39 PM
Subject: RE: [SDL] Starting with SDL

Thanks you very much for your reply!

I have been reading, and i downloaded DevCPP. And i have started learning
C++ (Object oriented, not structured as i kew it).

So first i will learn up to a decent level of C++, then i will start with
SDL.

Thanks again :slight_smile:
Eduardo Garcia Rajo (h)

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Sashnov Alexander
To: eDU!
Sent: Tuesday, May 20, 2003 3:52 AM
Subject: Re: [SDL] Starting with SDL


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

Rafftik

        As i have been reading, it is possible. There are two packages

of LibSDL for Windows. One is the known VC6 one… The other one, is ENGW
(or something like that) wich will work with DevCPP. You can also take a
look at the web page of DevCPP, section Downloads, theres a “sub-site” for
packages download where you can download the SDL Lib package for using with
Dev CPP. It will work fine becouse DevCPP uses de engw compiler.

Also, if u dont want to use Lib SDL version 1.2.4, instead, u will have to
download the Lib SDL 1.2.5 from the official libsdl web site, and manually
install the SDL Libs into the devCPP enviorment.

Personaly, i havent done this yet, but i think it will be just done by
copying the Include files and lib files to the respective LIB and INCLUDE
directorys inside the root directoy of the DevCPP.

If this dosn’t work, maybe theres another way wich any ppl here using DevCPP
can tell us.
And u can still use the Lib SDL 1.2.4 package and wait till the developers
of DevCPP include the SDL 1.2.5 package.

I hope this can help you :slight_smile:

PD: If u can install manually lib SDL 1.2.5 package and it works, please
make me know.

Bye!
Eduardo Garcia Rajo (h)------------------------------------------------------------------
Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: rafik_rezzik@yahoo.ca (Rafik Rezzik)
To:
Sent: Tuesday, May 20, 2003 4:38 PM
Subject: RE: [SDL] Starting with SDL

Attrix, thanks for replying!

I had read about that, as you say, i dont need OOP to work with SDL, but as
i want to make an Online Role playing game, i will need to work with
Objects. Or at least, it will be the best programing metoth for this. Any
way, i always wanted to know C++ and POO, so i will be learning it for some
weeks i think, before startnig with SDL.

But now that u tell me this, i have a question… is it possible to work
with C++ and use SDL at the same time, right? Just including the libs i need
for SDL, etc…

Thanks you
Eduardo Garcia Rajo (h)------------------------------------------------------------------
Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: atrix2@cox.net (atrix2)
To:
Sent: Tuesday, May 20, 2003 4:48 PM
Subject: Re: [SDL] Starting with SDL

Hey Eduardo,

you dont have to learn object oriented programming to use SDL. SDL itself
is procedural which is the way that you are familiar with. Just because
its
C++ doesnt mean you have to write object oriented code.

Hope this helps!
Atrix

----- Original Message -----
From: “eDU!” <@eDU>
To:
Sent: Tuesday, May 20, 2003 12:39 PM
Subject: RE: [SDL] Starting with SDL

Thanks you very much for your reply!

I have been reading, and i downloaded DevCPP. And i have started
learning

C++ (Object oriented, not structured as i kew it).

So first i will learn up to a decent level of C++, then i will start
with

SDL.

Thanks again :slight_smile:
Eduardo Garcia Rajo (h)

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Sashnov Alexander
To: eDU!
Sent: Tuesday, May 20, 2003 3:52 AM
Subject: Re: [SDL] Starting with 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

yeah it is possible, that is what i do.

also, i personaly dont like and dont use OOP too much so it is possible to
make a game without OOP…just something to think about (:

Im not trying to start a flame war and i know its off topic but just
answering a question about the capabilities of SDL and C++ so please dont
reply to this message if you are starting a war about whats better :P> ----- Original Message -----

From: quaker@advancedsl.com.ar (eDU)
To:
Sent: Tuesday, May 20, 2003 2:33 PM
Subject: RE: [SDL] Starting with SDL

Attrix, thanks for replying!

I had read about that, as you say, i dont need OOP to work with SDL, but
as
i want to make an Online Role playing game, i will need to work with
Objects. Or at least, it will be the best programing metoth for this. Any
way, i always wanted to know C++ and POO, so i will be learning it for
some
weeks i think, before startnig with SDL.

But now that u tell me this, i have a question… is it possible to work
with C++ and use SDL at the same time, right? Just including the libs i
need
for SDL, etc…

Thanks you
Eduardo Garcia Rajo (h)

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Atrix Wolfe <@atrix2>
To:
Sent: Tuesday, May 20, 2003 4:48 PM
Subject: Re: [SDL] Starting with SDL

Hey Eduardo,

you dont have to learn object oriented programming to use SDL. SDL
itself

is procedural which is the way that you are familiar with. Just because
its
C++ doesnt mean you have to write object oriented code.

Hope this helps!
Atrix

----- Original Message -----
From: “eDU!”
To:
Sent: Tuesday, May 20, 2003 12:39 PM
Subject: RE: [SDL] Starting with SDL

Thanks you very much for your reply!

I have been reading, and i downloaded DevCPP. And i have started
learning

C++ (Object oriented, not structured as i kew it).

So first i will learn up to a decent level of C++, then i will start
with

SDL.

Thanks again :slight_smile:
Eduardo Garcia Rajo (h)

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Sashnov Alexander
To: eDU!
Sent: Tuesday, May 20, 2003 3:52 AM
Subject: Re: [SDL] Starting with 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

Ok… so as you mean, or as i have understanded… it is perfectly possible
to make a game, using C++ and SDL…

I have been told in another C mail list, that sometimes is a little
inneficient to combine C and C++, because it can cause an overload…
What can you ppl tell me about this? can be considered as not efficient in
any point of view, to write programs in C++ using lib SDL ?

thanks for your reply! =)

                       Eduardo Garcia Rajo (h)------------------------------------------------------------------

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: atrix2@cox.net (atrix2)
To:
Sent: Tuesday, May 20, 2003 6:50 PM
Subject: Re: [SDL] Starting with SDL

yeah it is possible, that is what i do.

also, i personaly dont like and dont use OOP too much so it is possible to
make a game without OOP…just something to think about (:

Im not trying to start a flame war and i know its off topic but just
answering a question about the capabilities of SDL and C++ so please dont
reply to this message if you are starting a war about whats better :stuck_out_tongue:

----- Original Message -----
From: “eDU!” <@eDU>
To:
Sent: Tuesday, May 20, 2003 2:33 PM
Subject: RE: [SDL] Starting with SDL

Attrix, thanks for replying!

I had read about that, as you say, i dont need OOP to work with SDL, but
as
i want to make an Online Role playing game, i will need to work with
Objects. Or at least, it will be the best programing metoth for this.
Any

way, i always wanted to know C++ and POO, so i will be learning it for
some
weeks i think, before startnig with SDL.

But now that u tell me this, i have a question… is it possible to work
with C++ and use SDL at the same time, right? Just including the libs i
need
for SDL, etc…

Thanks you
Eduardo Garcia Rajo (h)

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Atrix Wolfe
To:
Sent: Tuesday, May 20, 2003 4:48 PM
Subject: Re: [SDL] Starting with SDL

Hey Eduardo,

you dont have to learn object oriented programming to use SDL. SDL
itself

is procedural which is the way that you are familiar with. Just
because

its

C++ doesnt mean you have to write object oriented code.

Hope this helps!
Atrix

----- Original Message -----
From: “eDU!” <@eDU>
To:
Sent: Tuesday, May 20, 2003 12:39 PM
Subject: RE: [SDL] Starting with SDL

Thanks you very much for your reply!

I have been reading, and i downloaded DevCPP. And i have started
learning

C++ (Object oriented, not structured as i kew it).

So first i will learn up to a decent level of C++, then i will start
with

SDL.

Thanks again :slight_smile:
Eduardo Garcia Rajo (h)

Visite: http://www.solucion-digital.com.ar
SOLUCION DIGITAL
Redes - Software - Servicios

----- Original Message -----
From: Sashnov Alexander
To: eDU!
Sent: Tuesday, May 20, 2003 3:52 AM
Subject: Re: [SDL] Starting with 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


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