4
edits
Progress Continues
We've already had 21687 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
(Update build instructions for evdev) |
|||
Line 19: | Line 19: | ||
<pre>sudo add-apt-repository ppa:kalakris/cmake | <pre>sudo add-apt-repository ppa:kalakris/cmake | ||
There is no ppa for libevdev-dev, so you will need to build libevdev from source, or disable the evdev backend (cmake .. -DENABLE_EVDEV=OFF -DENABLE_SDL=ON) | |||
sudo apt-get update</pre> | sudo apt-get update</pre> | ||
Line 24: | Line 26: | ||
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 pkg-config git gcc-4.9 g++-4.9 libao-dev libasound2-dev libbluetooth-dev libgl1-mesa-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsdl1.2-dev libsoil-dev libxext-dev libxrandr-dev zlib1g-dev</pre> | <pre>sudo apt-get install cmake pkg-config git gcc-4.9 g++-4.9 libao-dev libasound2-dev libbluetooth-dev libgl1-mesa-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsdl1.2-dev libsoil-dev libxext-dev libxrandr-dev zlib1g-dev libudev-dev</pre> | ||
==== 14.04 (LTS) ==== | ==== 14.04 (LTS) ==== | ||
Line 36: | Line 38: | ||
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 gcc-4.9 g++-4.9 libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline | <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 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 newer ==== | ==== 15.04 and newer ==== | ||
Line 42: | Line 44: | ||
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 | <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> | ||
=== Other Linux Distributions === | === Other Linux Distributions === | ||
Line 125: | Line 127: | ||
* libreadline-dev | * libreadline-dev | ||
* libgl1-mesa-dev | * libgl1-mesa-dev | ||
* libevdev-dev | |||
* libudev-dev | |||
=== Optional dependencies === | === Optional dependencies === | ||
Line 161: | Line 165: | ||
|- | |- | ||
| libpolarssl-dev (>= 1.3.8) | | libpolarssl-dev (>= 1.3.8) | ||
| if not found will be built statically | | if not found will be built statically | ||
|- | |- | ||
Line 186: | Line 187: | ||
== Addendum B == | == Addendum B == | ||
Scripts for building Dolphin. | |||
=== General purpose script === | === General purpose script === | ||
Line 212: | Line 213: | ||
mkdir $DIR/build | mkdir $DIR/build | ||
cd $DIR/build | cd $DIR/build | ||
build && echo 'Compiled | build && echo 'Compiled successfully.' || exit | ||
echo 'Proceeding to the installation; press Enter to continue or Ctrl+C to cancel.' | echo 'Proceeding to the installation; press Enter to continue or Ctrl+C to cancel.' | ||
read | read | ||
Line 225: | Line 226: | ||
Instructions: | Instructions: | ||
Put this script in any directory, | Put this script in any directory, preferably a subdirectory of the Home directory, such as <code>~/.scripts/dolphin</code><br> | ||
Within this directory, the script will create two subdirectories, ''dolphin-emu'' and ''build''. It must remain in this directory to work.<br> | Within this directory, the script will create two subdirectories, ''dolphin-emu'' and ''build''. It must remain in this directory to work.<br> | ||
Execute the script from anywhere, by running <code>sh /path/to/the/script.sh</code>, where /path/to/the/script.sh is replaced with the actual path to the script.<br> | Execute the script from anywhere, by running <code>sh /path/to/the/script.sh</code>, where /path/to/the/script.sh is replaced with the actual path to the script.<br> |
edits