Building Dolphin on Linux: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Step 3 - Building Dolphin: Update cmake compiler overrides)
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Note =
'''Outdated: This has not been updated since July 2019 an no longer aligns with Dolphin's current dependencies.'''
Users running Linux distros have to build Dolphin from source. Dolphin is compatible with x86-64 and AArch64 Linux distributions. This is a guide to compiling Dolphin using the cmake build system.
Users running Linux distros have to build Dolphin from source. Dolphin is compatible with x86-64 and AArch64 Linux distributions. This is a guide to compiling Dolphin using the cmake build system.


Line 15: Line 11:
Install all necessary packages by running the following command:
Install all necessary packages by running the following command:


<pre>sudo apt install --no-install-recommends ca-certificates qtbase5-dev qtbase5-private-dev git cmake make gcc g++ pkg-config libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libxi-dev libxrandr-dev libudev-dev libevdev-dev libsfml-dev libminiupnpc-dev libmbedtls-dev libcurl4-openssl-dev libhidapi-dev libsystemd-dev libbluetooth-dev libasound2-dev libpulse-dev libpugixml-dev libbz2-dev libzstd-dev liblzo2-dev libpng-dev libusb-1.0.0-dev gettext</pre>
<pre>sudo apt install --no-install-recommends ca-certificates qtbase5-dev qtbase5-private-dev git cmake make gcc g++ pkg-config libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libxi-dev libxrandr-dev libudev-dev libevdev-dev libsfml-dev libminiupnpc-dev libmbedtls-dev libcurl4-openssl-dev libhidapi-dev libsystemd-dev libbluetooth-dev libasound2-dev libpulse-dev libpugixml-dev libbz2-dev libzstd-dev liblzo2-dev libpng-dev libusb-1.0-0-dev gettext</pre>


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.
Line 47: Line 43:


<code>cd ./dolphin-emu</code>
<code>cd ./dolphin-emu</code>
Pull the git submodules.
<code>git submodule update --init</code>


To update the local copy in the future without repeating the whole process, run <code>git pull origin</code> within the <code>dolphin-emu</code> directory and proceed to the following steps.
To update the local copy in the future without repeating the whole process, run <code>git pull origin</code> within the <code>dolphin-emu</code> directory and proceed to the following steps.
Line 78: Line 78:
From here build and install in the standard make way.
From here build and install in the standard make way.


<code>make
<code>make -j$(nproc)


sudo make install</code>
sudo make install</code>
Line 110: Line 110:


== Addendum A ==
== Addendum A ==
{{Fmbox
|text = '''Outdated'''
<br/>This section has not been updated since July 2019 and no longer aligns with Dolphin's current dependencies.
}}
This addendum lists the dependencies to build Dolphin.  
This addendum lists the dependencies to build Dolphin.  


Navigation menu