Building Dolphin on Linux: Difference between revisions

Line 42: Line 42:


==== 16.04 LTS ====
==== 16.04 LTS ====
''Follow this step for Ubuntu 16.04 LTS and later (it probably also works on Debian GNU/Linux 8). Also needed for Ubuntu 15.04 and 15.10.''<br>
''Follow this step for Ubuntu 16.04 LTS and later (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 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>
<pre>sudo apt 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>


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.
The development version of Dolphin 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.


Add -DUSE_SHARED_ENET=ON on cmake line if you want to build dolphin against shared libenet-dev.
Add -DUSE_SHARED_ENET=ON on cmake line if you want to build dolphin against shared libenet-dev.
You may not find libsoundtouch-dev in 15.04, just remove it from the install line.


=== Fedora ===
=== Fedora ===