# Newbie

**URL:** <https://discourse.libsdl.org/t/newbie/6038>\
**Category:** SDL Development\
**Created:** [February 20, 2002, 2:57am UTC](https://discourse.libsdl.org/t/newbie/6038 "2002-02-20T02:57:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cameron\_Aycock](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@Cameron\_Aycock](https://discourse.libsdl.org/u/Cameron_Aycock)\
**Post date:** [February 20, 2002, 2:57am UTC](https://discourse.libsdl.org/t/newbie/6038/1 "2002-02-20T02:57:01Z")

</div>

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](http://sports.yahoo.com)

---

<div class="post-metadata">

**Author:** ![Mads\_Bondo\_Dydensbor](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@Mads\_Bondo\_Dydensbor](https://discourse.libsdl.org/u/Mads_Bondo_Dydensbor)\
**Post date:** [February 20, 2002, 3:42am UTC](https://discourse.libsdl.org/t/newbie/6038/2 "2002-02-20T03:42:00Z")

</div>

> 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 😉

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

```

---

<div class="post-metadata">

**Author:** ![Johannes\_Schmidt](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@Johannes\_Schmidt](https://discourse.libsdl.org/u/Johannes_Schmidt)\
**Post date:** [February 20, 2002, 4:18am UTC](https://discourse.libsdl.org/t/newbie/6038/3 "2002-02-20T04:18:00Z")

</div>

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](http://libufo.sourceforge.net) \> Your widget set for OpenGL

---

<div class="post-metadata">

**Author:** ![Cameron\_Aycock](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@Cameron\_Aycock](https://discourse.libsdl.org/u/Cameron_Aycock)\
**Post date:** [February 20, 2002, 1:25pm UTC](https://discourse.libsdl.org/t/newbie/6038/4 "2002-02-20T13:25:01Z")

</div>

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 😉
> 
> 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://libsdl.org)  
> [http://www.libsdl.org/mailman/listinfo/sdl](http://www.libsdl.org/mailman/listinfo/sdl)

* * *

Do You Yahoo!?  
Yahoo! Sports - Coverage of the 2002 Olympic Games

> **[Yahoo Sports: News, Scores, Video, Fantasy Games, Schedules & More](https://sports.yahoo.com)**
>
> Sports News, Scores, Fantasy Games

---

<div class="post-metadata">

**Author:** ![Mark\_K\_Kim](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@Mark\_K\_Kim](https://discourse.libsdl.org/u/Mark_K_Kim)\
**Post date:** [February 20, 2002, 3:03pm UTC](https://discourse.libsdl.org/t/newbie/6038/5 "2002-02-20T15:03:01Z")

</div>

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 😉
> > 
> > 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://libsdl.org)  
> > [http://www.libsdl.org/mailman/listinfo/sdl](http://www.libsdl.org/mailman/listinfo/sdl)
> 
> * * *
> 
> Do You Yahoo!?  
> Yahoo! Sports - Coverage of the 2002 Olympic Games  
> [http://sports.yahoo.com](http://sports.yahoo.com)
> 
> * * *
> 
> SDL mailing list  
> SDL at [libsdl.org](http://libsdl.org)  
> [http://www.libsdl.org/mailman/listinfo/sdl](http://www.libsdl.org/mailman/listinfo/sdl)

–  
Mark K. Kim  
[http://www.cbreak.org/mark/](http://www.cbreak.org/mark/)  
PGP key available upon request.

---

<div class="post-metadata">

**Author:** ![Rafik\_Rezzik](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@Rafik\_Rezzik](https://discourse.libsdl.org/u/Rafik_Rezzik)\
**Post date:** [March 3, 2003, 8:46pm UTC](https://discourse.libsdl.org/t/newbie/6038/6 "2003-03-03T20:46:01Z")

</div>

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](http://www.linuxworld.tk) under programming

This newb here would appreciate any help.

Thanks 🙂

Rafik

---

<div class="post-metadata">

**Author:** ![Julien\_Pauty](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@Julien\_Pauty](https://discourse.libsdl.org/u/Julien_Pauty)\
**Post date:** [March 4, 2003, 12:56am UTC](https://discourse.libsdl.org/t/newbie/6038/7 "2003-03-04T00:56:01Z")

</div>

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](mailto: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](http://www.linuxworld.tk) under programming
> > 
> > This newb here would appreciate any help.
> > 
> > Thanks 🙂
> > 
> > Rafik
> > 
> > * * *
> > 
> > SDL mailing list  
> > SDL at [libsdl.org](http://libsdl.org)  
> > [http://www.libsdl.org/mailman/listinfo/sdl](http://www.libsdl.org/mailman/listinfo/sdl)

---

<div class="post-metadata">

**Author:** ![Donald\_Cathcart](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/d/d26b3c/32.png) [@Donald\_Cathcart](https://discourse.libsdl.org/u/Donald_Cathcart)\
**Post date:** [January 19, 2004, 5:25am UTC](https://discourse.libsdl.org/t/newbie/6038/8 "2004-01-19T05:25:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Tim\_M](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@Tim\_M](https://discourse.libsdl.org/u/Tim_M)\
**Post date:** [January 19, 2004, 5:41am UTC](https://discourse.libsdl.org/t/newbie/6038/9 "2004-01-19T05:41:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Julien\_Pauty](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@Julien\_Pauty](https://discourse.libsdl.org/u/Julien_Pauty)\
**Post date:** [January 19, 2004, 6:25am UTC](https://discourse.libsdl.org/t/newbie/6038/10 "2004-01-19T06:25:00Z")

</div>

Here is a tutorial :

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

Jul

---

<div class="post-metadata">

**Author:** ![Florian\_Hufsky](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@Florian\_Hufsky](https://discourse.libsdl.org/u/Florian_Hufsky)\
**Post date:** [January 21, 2004, 11:00am UTC](https://discourse.libsdl.org/t/newbie/6038/11 "2004-01-21T11:00:01Z")

</div>

another tutorial:

[http://jnrdev.weed-crew.net](http://jnrdev.weed-crew.net)

(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
