=Objectives and Overview= ---- This page describes how to install SDL_ttf for compiling dvc on Linux or Windows. [[toc]] ==Windows== ---- * Visit the SDL_ttf download page: http://www.libsdl.org/projects/SDL_ttf/ * Download the win32 development library (package with 'devel' in its name) * Unzip the archive and you will have a folder named //SDL_ttf-2.x.x// Next you have two options for installing SDL_ttf. You only need to do **one** of the following: # Rename the folder //SDL_ttf-2.x.x// to //SDL_ttf// and place it into the DVC source tree in the //libraries// folder. Your directory tree will look like this: //dvc\libraries\SDL_ttf//. # Place the //SDL_ttf-2.x.x// folder anywhere in your file system and set an envrionment variable named **SDLTTFDIR** to indicate where the folder may be found. For example, **SDLDIR=**C:\SDL_ttf-2.0.9. Here are [[http://support.microsoft.com/kb/310519| instructions for setting environment variables in Windows]]. At runtime DVC applications need to find SDL_ttf.dll. This file is located at SDL_ttf\lib\SDL_ttf.dll. Copy this dll to a folder that is in your system's search path. The easiest way to accomplish this is to copy SDL.dll to C:\WINDOWS\system32. ==Linux== ---- Most likely you can use your system's package manager to install SDL_ttf development libraries. For example, on Ubuntu you can type: [[code]] sudo apt-get install libsdl-ttf2.0-dev [[code]] Otherwise, install SDL_ttf from source. Download source code at http://www.libsdl.org/projects/SDL_ttf/