Building Dolphin on Linux: Difference between revisions
→Ubuntu
(→Ubuntu) |
|||
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 | ||
sudo apt-get update</ | sudo apt-get update</pre> | ||
This PPA will update libstdc++6 package too, which is an important component from the system, so be careful and use at your own risk. | This PPA will update libstdc++6 package too, which is an important component from the system, so be careful and use at your own risk. | ||
Line 18: | Line 18: | ||
Cmake needs to be updated too: | Cmake needs to be updated too: | ||
< | <pre>sudo add-apt-repository ppa:kalakris/cmake | ||
sudo apt-get update</ | sudo apt-get update</pre> | ||
Now, install all necessary packages by running the following command: | Now, install all necessary packages by running the following command: | ||
< | <pre>sudo apt-get install cmake git gcc-4.8 g++-4.8 pkg-config libao-dev libasound2-dev libbluetooth-dev libgl1-mesa-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline6-dev libsdl1.2-dev libsoil-dev libsoundtouch-dev libusb-1.0-0-dev libxext-dev libxrandr-dev zlib1g-dev</pre> | ||
==== 14.04 (LTS) ==== | ==== 14.04 (LTS) ==== | ||
Line 30: | Line 30: | ||
Install all necessary packages by running the following command: | Install all necessary packages by running the following command: | ||
< | <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 libpolarssl-dev portaudio19-dev libpulse-dev libreadline6-dev libsdl2-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev zlib1g-dev</pre> | ||
==== 14.10 and newer ==== | ==== 14.10 and newer ==== | ||
Line 36: | Line 36: | ||
Install all necessary packages by running the following command: | Install all necessary packages by running the following command: | ||
< | <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 libminiupnpc-dev libopenal-dev libpolarssl-dev portaudio19-dev libpulse-dev libreadline6-dev libsdl2-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev zlib1g-dev</pre> | ||
===Other Linux Distributions=== | ===Other Linux Distributions=== |