Building Dolphin on Linux: Difference between revisions

No edit summary
Line 41: Line 41:
<pre>sudo apt-get install cmake pkg-config git gcc-4.9 g++-4.9 libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libcurl4-openssl-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libswscale-dev libusb-1.0-0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev</pre>
<pre>sudo apt-get install cmake pkg-config git gcc-4.9 g++-4.9 libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libcurl4-openssl-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libswscale-dev libusb-1.0-0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev</pre>


==== 15.04 and 15.10 ====
==== 15.04, 15.10 and 16.04 (LTS) ====
''Follow this step for Ubuntu 15.04.''<br>
''Follow this step for Ubuntu 15.04, 15.10, 16.04 and future versions (it probably also works on Debian GNU/Linux 8).''<br>
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 libenet-dev libgtk2.0-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpolarssl-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev</pre>
<pre>sudo apt-get install cmake pkg-config git libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libenet-dev libgtk2.0-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev "libpolarssl-dev|libmbedtls-dev" libcurl4-openssl-dev libegl1-mesa-dev libpng-dev</pre>


==== 16.04 (LTS) ====
For dolphin development version: it requires at least WxWidgets 3.1.0, so you don't need install libwxbase3.0-dev and libwxgtk3.0-dev; Dolphin will build it from Externals folder.
''Follow this step for Ubuntu 16.04 and future versions (it probably also works on Debian GNU/Linux 8).''<br>
Install all necessary packages by running the following command:
 
<pre>sudo apt install git cmake pkg-config libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libenet-dev libgtk2.0-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpulse-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev portaudio19-dev libudev-dev libevdev-dev libmbedtls-dev libreadline-dev</pre>


You may encounter an issue with <code>libudev-dev</code> being the wrong version for the installed <code>libudev1</code> package. This is a reported bug with no progress. The workaround is to install libudev1, check the version number (i.e 229-4ubuntu6), then find a version of libudev-dev with the same version number on the [http://packages.ubuntu.com/search?keywords=libudev-dev Ubuntu package mirror search page], and follow the links to download the package from a local mirror. Then use <code>sudo dpkg -i filename.dev</code> to install the package.
You may not find libsoundtouch-dev in 15.04, just remove it from the install line.


===Fedora===
===Fedora===
Anonymous user