Development Environment of Legend of Tux: Difference between revisions

From LD Smith Games Workshop
Jump to navigation Jump to search
Line 34: Line 34:
  # make install
  # make install


Be sure to distribute SDL.dll with Windows builds


== Audio ==
== Audio ==

Revision as of 01:59, 13 October 2009

Compiler and Game Libraries

Download cygwin: http://www.cygwin.com/

Run the "setup.exe" installer

Be sure to select the following:

  • vi
  • gcc
  • make
  • g++

Download SDL: http://www.libsdl.org/download-1.2.php

Get the "SDL-1.2.13.tar.gz" file


Start cygwin, and extract the file

# gzip -d SDL-1.2.13.tar.gz
# tar xvf SDL-1.2.13.tar

Build the SDL environment

# cd SDL-1.2.13
# ./configure
# make
# make install

Be sure to distribute SDL.dll with Windows builds

Audio

Download SDL_mixer-1.2.8.tar.gz: http://www.libsdl.org/projects/SDL_mixer/

If downloaded with windows, rename the download

mv SDL_mixer-1.2.8.tar.tar SDL_mixer-1.2.8.tar.gz

Decompress

gzip -d SDL_mixer-1.2.8.tar.gz

Set permissions if needed

 chmod u+rw SDL_mixer-1.2.8.tar 

Decompress

tar -xvf SDL_mixer-1.2.8.tar

Graphics Tools

Gimp for Windows: http://www.gimp.org/windows/

Blender: http://www.blender.org/