Newbie

Howdy,
I just started with sdl. I am using Ming32 for
development… don’t have a large HD so no Linux right
now ;(.

Anyway, any other Mingw - sdl users out there? I have
some small questions about installing it properly. I
have set up the sample apps and have gotten them to
compile.

How do I install the SDL_mixer and SDL_image libraries
properly… it seems no matter what I do the compiler
can’t find the libraries?

I am getting a “no suitable ld found in path” error…
I have the PATH pointing to the bin dir and the tests
for SDL compiled correctly… any ideas?

Thanks,
Cameron Aycock__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

Howdy,
I just started with sdl. I am using Ming32 for
development… don’t have a large HD so no Linux right
now ;(.

Do you have a specific preference for Ming32? If you install the cygwin
tools (including gcc) you should have a lot easier time, I would think.

And, really, a harddisk does not cost a lot these days :wink:

MadsOn Wed, 20 Feb 2002, Cameron Aycock wrote:


Mads Bondo Dydensborg. @Mads_Bondo_Dydensbor
But the Napster case is not just, or even mainly, about piracy. It is about
business models. The industry wants to stick to its old one - selling
expensive compact discs - and to protect it. But Napster’s success shows
that there is a lot of appetite for a new model. The old model is legal, but
the new one is not, since the industry refuses to endorse it.

Artists’ interests deserve legal protection, within limits; business models
do not.

   - The Economist, 2001.02.24

You can specify an environment variable to the right linker:
export LD=/my_path_to_ld/ld
should work. Then rerun the configure script.On Wednesday 20 February 2002 11:56, Cameron Aycock wrote:

I am getting a “no suitable ld found in path” error…
I have the PATH pointing to the bin dir and the tests
for SDL compiled correctly… any ideas?


Johannes Schmidt

< http://libufo.sourceforge.net > Your widget set for OpenGL

I simply chose MingW because of not having to
redistribute any additional dlls with my application.
But in hindsight I guess I have to distribute the
sdl.dll anyway so I may give it a shot… HDD - $100
buck is a lot of dough when you got wife and kids ;),
sides, I plan on hitting windows primarially.

— Mads Bondo Dydensborg
wrote:> On Wed, 20 Feb 2002, Cameron Aycock wrote:

Howdy,
I just started with sdl. I am using Ming32 for
development… don’t have a large HD so no Linux
right
now ;(.

Do you have a specific preference for Ming32? If you
install the cygwin
tools (including gcc) you should have a lot easier
time, I would think.

And, really, a harddisk does not cost a lot these
days :wink:

Mads


Mads Bondo Dydensborg.
madsdyd at challenge.dk
But the Napster case is not just, or even mainly,
about piracy. It is about
business models. The industry wants to stick to its
old one - selling
expensive compact discs - and to protect it. But
Napster’s success shows
that there is a lot of appetite for a new model. The
old model is legal, but
the new one is not, since the industry refuses to
endorse it.

Artists’ interests deserve legal protection, within
limits; business models
do not.

   - The Economist, 2001.02.24

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


Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

Cygwin lets you generate MingW files. Use the -mno-cygwin option when
compiling.

-MarkOn Wed, 20 Feb 2002, Cameron Aycock wrote:

I simply chose MingW because of not having to
redistribute any additional dlls with my application.
But in hindsight I guess I have to distribute the
sdl.dll anyway so I may give it a shot… HDD - $100
buck is a lot of dough when you got wife and kids ;),
sides, I plan on hitting windows primarially.

— Mads Bondo Dydensborg
wrote:

On Wed, 20 Feb 2002, Cameron Aycock wrote:

Howdy,
I just started with sdl. I am using Ming32 for
development… don’t have a large HD so no Linux
right
now ;(.

Do you have a specific preference for Ming32? If you
install the cygwin
tools (including gcc) you should have a lot easier
time, I would think.

And, really, a harddisk does not cost a lot these
days :wink:

Mads


Mads Bondo Dydensborg.
madsdyd at challenge.dk
But the Napster case is not just, or even mainly,
about piracy. It is about
business models. The industry wants to stick to its
old one - selling
expensive compact discs - and to protect it. But
Napster’s success shows
that there is a lot of appetite for a new model. The
old model is legal, but
the new one is not, since the industry refuses to
endorse it.

Artists’ interests deserve legal protection, within
limits; business models
do not.

   - The Economist, 2001.02.24

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


Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com


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


Mark K. Kim
http://www.cbreak.org/mark/
PGP key available upon request.

Hello im a newbie at SDL. I am learning the bare basics. Here is my
problem:

I set the screen to 1024x768 and draw a surface called background(my
background). The thing is it only draws it at the size it actually is,
but I want it to cover the whole screen.

If you want to look at the source (very crapy) then its at my page:

http://www.linuxworld.tk under programming

This newb here would appreciate any help.

Thanks :slight_smile:

Rafik

Hi,

If your background image isn’t 1024x768, it won’t cover the whole screen.
SDL won’t scale the image, even if you set the h an w fields of the
destination rectangle, in fact these fields are unused by SDL_BlitSurface.
You can use a library to zoom your image, do a function yourself, or use an
external program like the gimp.

Hope that helps

Julien> ----- Original Message -----

From: rafik@hotpop.com (Rafik Rezzik)
To:
Sent: Friday, February 28, 2003 10:52 PM
Subject: [SDL] Newbie

Hello im a newbie at SDL. I am learning the bare basics. Here is my
problem:

I set the screen to 1024x768 and draw a surface called background(my
background). The thing is it only draws it at the size it actually is,
but I want it to cover the whole screen.

If you want to look at the source (very crapy) then its at my page:

http://www.linuxworld.tk under programming

This newb here would appreciate any help.

Thanks :slight_smile:

Rafik


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

Hi all

I am new to SDL and would like to know if there are any other websites dedicated to SDL. I am interested in tutorials, code snippets, etc.

Thanks and I look forward to using this list.

Don Cathcart

Hi Don,

The SDL documentation is fantastic, it should be sufficient to get you
started. There are many applications with full source code that use SDL
available, check out the SDL website for a list of them.

Happy coding,

-TimOn Mon, 19 Jan 2004 09:25:41 -0400, Donald Cathcart wrote:

Hi all

I am new to SDL and would like to know if there are any other websites
dedicated to SDL. I am interested in tutorials, code snippets, etc.

Thanks and I look forward to using this list.

Don Cathcart

Here is a tutorial :

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

Jul

another tutorial:

(creating a 2d jump’n’run in c++ with sdl)

Donald Cathcart wrote:> Hi all

I am new to SDL and would like to know if there are any other websites
dedicated to SDL. I am interested in tutorials, code snippets, etc.

Thanks and I look forward to using this list.

Don Cathcart