SDL ttf: Difference between revisions

From LD Smith Games Workshop
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Download SDL_ttf-2.0.9.tar.gz from http://www.libsdl.org/projects/SDL_ttf/
Download SDL_ttf-2.0.9.tar.gz from http://www.libsdl.org/projects/SDL_ttf/
Rename to .tar.gz if Windows changed the extension to .tar.tar
  mv SDL_ttf-2.0.9.tar.tar SDL_ttf-2.0.9.tar.gz
Extract
 
  gzip -d SDL_ttf-2.0.9.tar.gz
  tar -xvf SDL_ttf-2.0.9.tar
If you get a permission denied error, then chmod the tar file
  chmod u+rw SDL_ttf-2.0.9.tar
  tar -xvf SDL_ttf-2.0.9.tar
Build the library
  cd SDL_ttf-2.0.9
  ./configure





Revision as of 19:31, 22 November 2009

Installing Development Files

Download SDL_ttf-2.0.9.tar.gz from http://www.libsdl.org/projects/SDL_ttf/

Rename to .tar.gz if Windows changed the extension to .tar.tar

  mv SDL_ttf-2.0.9.tar.tar SDL_ttf-2.0.9.tar.gz

Extract

 gzip -d SDL_ttf-2.0.9.tar.gz
 tar -xvf SDL_ttf-2.0.9.tar

If you get a permission denied error, then chmod the tar file

 chmod u+rw SDL_ttf-2.0.9.tar
 tar -xvf SDL_ttf-2.0.9.tar

Build the library

 cd SDL_ttf-2.0.9
 ./configure






Distributing

Download SDL_ttf-2.0.9-win32.zip from http://www.libsdl.org/projects/SDL_ttf/

Extract the DLLs to the project directory