Building Dolphin on Linux: Difference between revisions

Jump to navigation Jump to search
m (Text replacement - "(={2,})([^\s=])(.+)([^\s=])(={2,})" to "$1 $2$3$4 $5")
Line 10: Line 10:
You need to install a g++ version with C++0x/C++11 support, so install this PPA first:
You need to install a g++ version with C++0x/C++11 support, so install this PPA first:


<pre>sudo add-apt-repository ppa:dolphin-emu/gcc-4.8-precise
<pre>sudo add-apt-repository ppa:dolphin-emu/gcc-for-dolphin


sudo apt-get update</pre>
sudo apt-get update</pre>
Line 27: Line 27:


==== 14.04 (LTS) ====
==== 14.04 (LTS) ====
''Follow this step for Ubuntu 14.04 (LTS) and 14.10.''<br>
''Follow this step for Ubuntu 14.04 (LTS).''<br>
Dolphin needs [https://code.google.com/p/dolphin-emu/issues/detail?id=8636&can=1&q=regex GCC >= 4.9] now, so install [https://launchpad.net/~dolphin-emu/+archive/ubuntu/gcc-for-dolphin this PPA] first:
 
<pre>sudo add-apt-repository ppa:dolphin-emu/gcc-for-dolphin
 
sudo apt-get update</pre>
 
Install all necessary packages by running the following command (minimum version for Wx is 3.0.1, but trusty repo comes with 3.0.0, so it will build from Externals):
Install all necessary packages by running the following command (minimum version for Wx is 3.0.1, but trusty repo comes with 3.0.0, so it will build from Externals):


<pre>sudo apt-get install cmake pkg-config git g++ libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsdl2-dev libsfml-dev libsoil-dev libswscale-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev</pre>
<pre>sudo apt-get install cmake pkg-config git g++ libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsdl2-dev libsfml-dev libsoil-dev libswscale-dev libusb-1.0-0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev</pre>


==== 15.04 and newer ====
==== 15.04 and newer ====

Navigation menu