diff --git a/Building-for-Linux.md b/Building-for-Linux.md index 071bd45..ea05cc3 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -1,18 +1,37 @@ ## Prerequisites -- Git -- CMake +* Git +* Curl +* CMake, version 3.10 or newer for Dolphin 5.0-10149 and newer. +* C++ compiler, with C++17 support (e.g. GCC 7+, Clang 5+) for Dolphin 5.0-10149 and newer. ## Dependencies -### Debian based (Debian, Ubuntu, Kali, etc.): + +### Common + +### Ubuntu/Kubuntu 20.04+ for Dolphin versions ~5.0-13001 or newer +* ffmpeg +* libavcodec-dev +* libavformat-dev +* libavutil-dev +* libswscale-dev +* ibevdev-dev +* libudev-dev +* libxrandr-dev +* libxi-dev +* libpangocairo-1.0-0 +* qt5-default +* qtbase5-private-dev + +### Other Debian based (Debian, Kali, etc.): `sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev portaudio19-dev` -In some cases on Ubuntu 18.04 or distros based off of it, if your build fails, try the following: +### Troubleshooting + +Your build may fail in some cases on Ubuntu 18.04 and/or some of it's forks. +In that case try the following: `sudo apt remove liblzma-dev libzstd-dev` You can reinstall them after Dolphin builds successfully. - -For 5.0-10149 and newer versions, a C++ compiler with C++17 support (e.g. GCC 7+) and CMake 3.10+ are required. - ## Checkout Dolphin 1. Create a directory to store Dolphin in 2. `cd` into that directory