Difference between revisions of "Required Libraries"
m (sdl versions) |
|||
Line 1: | Line 1: | ||
− | + | The Odamex client and launcher require extra libraries which are not usually included with your operating system. | |
− | + | == SDL == | |
− | + | ||
− | + | SDL is a crossplatform library used to display graphics. It is required in order to compile the Odamex client. | |
− | === | + | === Windows === |
− | + | ||
− | + | SDL comes with no installer on Windows, you simply extract the zip into a random directory and reference it. Pointing your compiler at SDL is discussed in the compiler-specific pages. | |
− | === | + | You want to grab the '''Development Library''' on [http://www.libsdl.org/download-1.2.php this page] that compliments your compiler. |
+ | * If you are using Visual Studio, get the one labeled "VC8". This goes for any version of Visual Studio from 2005 SP1 all the way to 2010. | ||
+ | * If you are using MinGW, get the one labeled "Mingw32". If you don't have anything to extract a tar.gz file with, install [http://www.7-zip.org/ 7-zip]. You will also need to download the library itself, as the MinGW package does not come with the .dll file. | ||
+ | |||
+ | === Linux === | ||
+ | |||
+ | There is usually a copy of SDL and SDL_mixer included in the repositories of your distribution of choice: | ||
+ | |||
+ | * CentOS (requires [http://fedoraproject.org/wiki/EPEL EPEL] for SDL_mixer): yum install SDL-devel | ||
+ | * Debian: apt-get install libsdl-dev | ||
+ | * Fedora: yum install SDL-devel | ||
+ | * openSUSE: zypper in SDL-devel | ||
+ | * Ubuntu: aptitude install libsdl-dev | ||
+ | |||
+ | Otherwise, you can grab the latest source distribution of SDL from [http://www.libsdl.org/download-1.2.php here]. | ||
+ | |||
+ | == SDL_mixer == | ||
+ | |||
+ | SDL_mixer is a compliment to SDL, and handles both sound and music. It is required in order to compile the Odamex client. | ||
+ | |||
+ | === Windows === | ||
+ | |||
+ | SDL_mixer comes with no installer on Windows, you simply extract the zip into a random directory and reference it. Pointing your compiler at SDL_mixer is discussed in the compiler-specific pages. | ||
+ | |||
+ | You want to grab the '''Development Library''' on [http://www.libsdl.org/projects/SDL_mixer/ this page]. It is labeled '''SDL_mixer-devel''' and works with both Visual Studio and MinGW. | ||
+ | |||
+ | === Linux === | ||
+ | |||
+ | There is usually a copy of SDL and SDL_mixer included in the repositories of your distribution of choice: | ||
+ | |||
+ | * CentOS (requires [http://fedoraproject.org/wiki/EPEL EPEL] for SDL_mixer): yum install SDL_mixer-devel | ||
+ | * Debian: apt-get install libsdl-mixer1.2-dev | ||
+ | * Fedora: yum install SDL_mixer-devel | ||
+ | * openSUSE: zypper in SDL_mixer-devel | ||
+ | * Ubuntu: aptitude install libsdl-mixer1.2-dev | ||
+ | |||
+ | Otherwise, you can grab the latest source distribution of SDL_mixer from [http://www.libsdl.org/projects/SDL_mixer/ here]. | ||
+ | |||
+ | ==wxWidgets== | ||
wxWidgets is a library used to display graphical user interfaces. It is required in order to compile the Odamex launcher. The latest version of wxWidgets is 2.8.10 | wxWidgets is a library used to display graphical user interfaces. It is required in order to compile the Odamex launcher. The latest version of wxWidgets is 2.8.10 | ||
*[http://www.wxwidgets.org/downloads/ wxWidgets] | *[http://www.wxwidgets.org/downloads/ wxWidgets] |
Revision as of 23:48, 9 July 2011
The Odamex client and launcher require extra libraries which are not usually included with your operating system.
SDL
SDL is a crossplatform library used to display graphics. It is required in order to compile the Odamex client.
Windows
SDL comes with no installer on Windows, you simply extract the zip into a random directory and reference it. Pointing your compiler at SDL is discussed in the compiler-specific pages.
You want to grab the Development Library on this page that compliments your compiler.
- If you are using Visual Studio, get the one labeled "VC8". This goes for any version of Visual Studio from 2005 SP1 all the way to 2010.
- If you are using MinGW, get the one labeled "Mingw32". If you don't have anything to extract a tar.gz file with, install 7-zip. You will also need to download the library itself, as the MinGW package does not come with the .dll file.
Linux
There is usually a copy of SDL and SDL_mixer included in the repositories of your distribution of choice:
- CentOS (requires EPEL for SDL_mixer): yum install SDL-devel
- Debian: apt-get install libsdl-dev
- Fedora: yum install SDL-devel
- openSUSE: zypper in SDL-devel
- Ubuntu: aptitude install libsdl-dev
Otherwise, you can grab the latest source distribution of SDL from here.
SDL_mixer
SDL_mixer is a compliment to SDL, and handles both sound and music. It is required in order to compile the Odamex client.
Windows
SDL_mixer comes with no installer on Windows, you simply extract the zip into a random directory and reference it. Pointing your compiler at SDL_mixer is discussed in the compiler-specific pages.
You want to grab the Development Library on this page. It is labeled SDL_mixer-devel and works with both Visual Studio and MinGW.
Linux
There is usually a copy of SDL and SDL_mixer included in the repositories of your distribution of choice:
- CentOS (requires EPEL for SDL_mixer): yum install SDL_mixer-devel
- Debian: apt-get install libsdl-mixer1.2-dev
- Fedora: yum install SDL_mixer-devel
- openSUSE: zypper in SDL_mixer-devel
- Ubuntu: aptitude install libsdl-mixer1.2-dev
Otherwise, you can grab the latest source distribution of SDL_mixer from here.
wxWidgets
wxWidgets is a library used to display graphical user interfaces. It is required in order to compile the Odamex launcher. The latest version of wxWidgets is 2.8.10