SDL tutorials???

This is a discussion on SDL tutorials??? within the Game Programming forums, part of the General Programming Boards category; Does anyone know any good SDL tutorials for Dev-C++??? I tried the tutorials at SDL's site, and I was doing ...

  1. #1
    Registered User Ace Bowers's Avatar
    Join Date
    Jul 2003
    Posts
    23

    SDL tutorials???

    Does anyone know any good SDL tutorials for Dev-C++??? I tried the tutorials at SDL's site, and I was doing fine until tut 3. I couldn't fix it and nobody would tell me how, so I'm looking for some other tutorials. I am specifically looking for animation tutroials, but at this point any begginers tut is fine for me.
    "I have read about a hill in a book, so the hill must exist." -a Christian quote
    "I have not seen this hill, so it must not exist." -an Athiest quote
    "Well, I've heard of this hill, so lets bomb it." -a George Bush quote

  2. #2
    Registered User Ace Bowers's Avatar
    Join Date
    Jul 2003
    Posts
    23
    No one ever answers me. At least this'll give me more posts on my record.
    "I have read about a hill in a book, so the hill must exist." -a Christian quote
    "I have not seen this hill, so it must not exist." -an Athiest quote
    "Well, I've heard of this hill, so lets bomb it." -a George Bush quote

  3. #3
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #4
    Registered User Ace Bowers's Avatar
    Join Date
    Jul 2003
    Posts
    23
    I went to google and the only thing that looked good was in german, I had it translated and it made almost no sense. I can't find anything that actually compiles on animation. WAAAH!!!! I guess I'll just... Uh... Do something. If anyone has gone to the SDL site and compiled the 3 tutorial successfully can you please post the source code, that would fix everything. Thanks, if anyone bothers to answer that is, .
    "I have read about a hill in a book, so the hill must exist." -a Christian quote
    "I have not seen this hill, so it must not exist." -an Athiest quote
    "Well, I've heard of this hill, so lets bomb it." -a George Bush quote

  5. #5
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Why not post the errors, maybe someone here can help you. I'm sure it's nothing too major to fix.

  6. #6
    Registered User Ace Bowers's Avatar
    Join Date
    Jul 2003
    Posts
    23
    I try to compile the source and it tells me that:

    'CSpriteBase' is used as a type, but not defined as
    'CSprite' is used as a type, but not defined as

    Et cetera, et cetera... I think all the other errors are related to this but I can't be sure. So i guess the question is how do you define those as types? Thanks for answering.
    Last edited by Ace Bowers; 07-18-2003 at 05:56 PM.
    "I have read about a hill in a book, so the hill must exist." -a Christian quote
    "I have not seen this hill, so it must not exist." -an Athiest quote
    "Well, I've heard of this hill, so lets bomb it." -a George Bush quote

  7. #7
    Registered User Ace Bowers's Avatar
    Join Date
    Jul 2003
    Posts
    23
    Damn, no replies. WAH!!! Oh well, I'll just sit at my computer and drool 'till someone does answer.

    (drooling; drool hits keyboard, computer sparks everywhere)
    "I have read about a hill in a book, so the hill must exist." -a Christian quote
    "I have not seen this hill, so it must not exist." -an Athiest quote
    "Well, I've heard of this hill, so lets bomb it." -a George Bush quote

  8. #8
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Calm down there big boy.

    1) The keyboard doesn't spark when it gets wet.

    2) There aren't too many posts in the middle of the night.

    Have you checked to make sure that you're linking the SDL libraries with your program, and that you have the necessary and proper #include files?
    Away.

  9. #9
    Registered User Ace Bowers's Avatar
    Join Date
    Jul 2003
    Posts
    23
    Luckily, I wouldn't know what would happen to the keyboard if I drooled on it . I did do the linking thing, with the thing with the dashes in front of them. And I included the <SDL/SDL.h> library file, I did everything the tut told me to, to the letter (literally) and it wont work. Thanks for answering.

    EDIT:

    What do you mean in the middle of the night, are you in Asia or something. I'm in kansas and it's the middle of the day here.
    Last edited by Ace Bowers; 07-20-2003 at 01:53 PM.
    "I have read about a hill in a book, so the hill must exist." -a Christian quote
    "I have not seen this hill, so it must not exist." -an Athiest quote
    "Well, I've heard of this hill, so lets bomb it." -a George Bush quote

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CProgramming.com should update their tutorials.
    By PorkyChop in forum C++ Programming
    Replies: 17
    Last Post: 09-19-2004, 11:51 PM
  2. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 01:19 AM
  3. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 08:46 AM
  4. I have SDL, where could I find some 2D tutorials?
    By Golden Bunny in forum C++ Programming
    Replies: 1
    Last Post: 04-13-2002, 02:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21