Archived

This topic is now archived and is closed to further replies.

tommylkc

Using SDL

Recommended Posts

tommylkc    122
I would like to know how to install SDL so that we can use it in programming. I''m a newbie to linux. I don''t know which file I should download and perform installation. thank you very much~

Share this post


Link to post
Share on other sites
Null and Void    1088
  • Download this.
  • Open a terminal.
  • cd to the directory where you saved that file.
  • Unpack it with tar xvzf SDL-1.2.4.tar.gz.
  • Type cd SDL-1.2.4.
  • Type ./configure.
  • Type make.
  • Go superuser (type su and enter your password).
  • Type make install.

    Now, since I replied to your thread about playing sound, I know that you should repeat this process for SDL_mixer (that''s what you need to play more than basic sound in SDL).

    Share this post


    Link to post
    Share on other sites
    tommylkc    122
    Besides, I would like to try SDL in Visual C.
    I''ve follow the instructions in visualc.html but it is still failed...
    I''m still a newbie...sorry for that...

    Share this post


    Link to post
    Share on other sites