How I do install SDL?

This is a discussion on How I do install SDL? within the Game Programming forums, part of the General Programming Boards category; Hello, I really cant install sdl libs! I'm using the Borland compiler, I tried to follow the tutorials but I'm ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    How I do install SDL?

    Hello, I really cant install sdl libs! I'm using the Borland compiler, I tried to follow the tutorials but I'm stuck.
    I really do not know where putting the files and what else I must do.
    Please help! I've SDL.dll, I made SDL.lib, I've all the .h files in the include dir...
    what else? If I include SDL/SDL.h, I recieve 26 (!) errors, all from SDL_stdinc.h!

    Thanks very much for any help.

  2. #2
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    22
    Unfortunatly that tutorial does not cover Borland free compiler, and I couldnt find any other clear tutorial. Does anybody use Borland free compiler??
    I dont know where I can look anymore!!! Please help.
    ... or advice me any other media library

  4. #4
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    You could possibly download MSVC Express Edition from Microsoft. That would work with SDL just fine. But if you want to use BOREland I can't help you!
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    22
    Quote Originally Posted by Sentral
    You could possibly download MSVC Express Edition from Microsoft. That would work with SDL just fine. But if you want to use BOREland I can't help you!
    You sound you dont like Boreland
    Why is MSVC better? Is it free? Well ... express edition should be
    I'm accepting all advices about other compilers... now I'm trying the eclipse one, but I'm going crazy...

  6. #6
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Code::Blocks is good from what I hear. I've never used it though, nor do I know how well it would work with SDL. It's also an IDE and not a compiler, but whatever.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  7. #7
    Mad OnionKnight's Avatar
    Join Date
    Jan 2005
    Location
    Umeň, Sweden
    Posts
    555
    What errors are you getting? Linking SDL.lib shouldn't work as it's in a format that MSVC++ wants, but not Borland. So you'll have to convert it.
    http://www.libsdl.org/faq.php?action...&category=4#46
    Following these instructions might be good idea as well.

  8. #8
    Registered User
    Join Date
    Jun 2006
    Posts
    22
    Quote Originally Posted by psychopath
    Code::Blocks is good from what I hear. I've never used it though, nor do I know how well it would work with SDL. It's also an IDE and not a compiler, but whatever.
    Yeah, thanks, but I need a compiler, at first. You know, I'm new to C++... I made the most basic things with free borland compiler (structs, loops, classes...) but I'd like to see how SDL works, and I cant make it work.
    I'm now installing Visual C++ Xpress Ed... I hope it will work

  9. #9
    Registered User
    Join Date
    Jun 2006
    Posts
    22
    Quote Originally Posted by OnionKnight
    What errors are you getting? Linking SDL.lib shouldn't work as it's in a format that MSVC++ wants, but not Borland. So you'll have to convert it.
    http://www.libsdl.org/faq.php?action...&category=4#46
    Following these instructions might be good idea as well.
    Sorry, I did not read you before. yes, I read those instructions but I cant get anything. I really do not know what they are talking about.

    Does MSVC express generates .exe files?

  10. #10
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Of course. Trust me, it will save you a ton of headaches, and it's all in a neat IDE!
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  11. #11
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    You could just compile the source code yourself. Although I personally download the MSVC copy and reimp it for MinGW. Someone on the SDL mailing lists might know, but Borland is typically ignored now.

    Edit: Like others have mentioned, Visual Studio is a great IDE but I felt I might as well point out one other advantage - most libraries have downloads for VC++. That can help a lot in some cases.
    Last edited by Frobozz; 09-26-2006 at 01:54 AM.

  12. #12
    Registered User
    Join Date
    May 2006
    Posts
    903
    I've used Code::Blocks for a little while and never managed to make it work so I dumped it and I use MSVC++ 2003 instead.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 01:22 PM
  2. SDL and MinGW Studio
    By Vicious in forum Tech Board
    Replies: 0
    Last Post: 07-30-2004, 10:59 PM
  3. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 01:19 AM
  4. How i must install SDL?
    By SuRaNa in forum C++ Programming
    Replies: 1
    Last Post: 12-23-2002, 02:35 AM
  5. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 08:46 AM

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