Revert fd49179524057602e0797c1ef40f3b98915223ea^ ... fd49179524057602e0797c1ef40f3b98915223ea on Building for Linux

Lioncash 2014-08-11 13:38:53 -07:00
parent fd49179524
commit f29458bb95

@ -7,15 +7,26 @@ Dolphin runs on 64-bit Linux distributions. These instructions explain how to bu
## Step 1 Install the Correct Dependencies ## Step 1 Install the Correct Dependencies
--- ---
**Ubuntu 12.04 and newer** **Debian-based distributions (Ubuntu, Linux Mint, etc.)**
`sudo apt-get install cmake git g++ wx2.8-headers libwxbase2.8-dev libwxgtk2.8-dev libgtk2.0-dev libsdl1.2-dev libxrandr-dev libxext-dev libao-dev libasound2-dev libpulse-dev libbluetooth-dev libreadline-gplv2-dev libavcodec-dev libavformat-dev libswscale-dev` `sudo apt-get install cmake git g++ libwxbase3.0-dev libwxgtk3.0-dev libgtk2.0-dev libxrandr-dev libxext-dev libao-dev libasound2-dev libpulse-dev libbluetooth-dev libreadline-gplv2-dev libavcodec-dev libavformat-dev libswscale-dev`
**Ubuntu 11.04**
`sudo apt-get install cmake git g++ wx2.8-headers libwxbase2.8-dev libwxgtk2.8-dev libgtk2.0-dev libsdl1.2-dev libxrandr-dev libxext-dev libao-dev libasound2-dev libpulse-dev libbluetooth-dev libreadline5-dev libavcodec-dev libavformat-dev libswscale-dev`
**Other Linux versions** **Other Linux versions**
See the [build dependencies](#build-dependencies) below for a list of packages you will need to install. See the [build dependencies](#build-dependencies) below for a list of packages you will need to install.
**Installing SDL**
Note: SDL 2.0 must be compiled from source to prevent a bug causing Dolphin to crash with rumble-enabled controllers.
Install Mercurial (`sudo apt-get install hg`), and clone the SDL repo to the directory of your choice:
```
cd /tmp; hg clone http://hg.libsdl.org/SDL
```
Build SDL and install:
```
cd SDL; ./configure && make && sudo make install
```
## Step 2 Get the Dolphin Repository ## Step 2 Get the Dolphin Repository
--- ---
@ -85,9 +96,8 @@ Most of the time, any problems in the build process are due to user error. It's
- git - git
- cmake - cmake
- g++ - g++
- wx2.9-headers (wx3.0-headers work too, and are perhaps preferred!) - libwxbase3.0-dev
- libwxbase2.8-dev - libwxgtk3.0-dev
- libwxgtk2.8-dev
- libgtk2.0-dev - libgtk2.0-dev
- libbluetooth-dev (optional, for real Wiimotes) - libbluetooth-dev (optional, for real Wiimotes)
- libxrandr-dev (optional, for switching desktop resolution in fullscreen mode) - libxrandr-dev (optional, for switching desktop resolution in fullscreen mode)
@ -101,6 +111,6 @@ Most of the time, any problems in the build process are due to user error. It's
- libavformat-dev (optional, for dumping frames in AVI format) - libavformat-dev (optional, for dumping frames in AVI format)
- libswscale-dev (optional, for dumping frames in AVI format) - libswscale-dev (optional, for dumping frames in AVI format)
- liblzo2-dev (optional, if not found will be built statically) - liblzo2-dev (optional, if not found will be built statically)
- libsdl1.2-dev (optional, if not found will be built statically)
- libsoil-dev (optional, if not found will be built statically) - libsoil-dev (optional, if not found will be built statically)
- libsfml-dev (optional, if not found will be built statically) - libsfml-dev (optional, if not found will be built statically)
- SDL 2.0 (build from source to avoid a bug with rumble-enabled controllers)