From 5e74fecb8785f09ba8d55cc22d4e4253c5961c2c Mon Sep 17 00:00:00 2001 From: Phosphorus Moscu Date: Sun, 9 Oct 2022 22:24:16 -0300 Subject: [PATCH 1/2] Update README.md Add the missing dependencies to solve the errors when you run cmake --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 340f5c3b..a9c271ec 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,9 @@ As for the rest, the interface should be pretty straightforward. If you have a q ### Linux 1. Install dependencies: - * Ubuntu 22.04: `sudo apt install cmake libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qtbase5-dev libslirp-dev libarchive-dev libepoxy-dev` - * Older Ubuntu: `sudo apt install cmake libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qt5-default libslirp-dev libarchive-dev libepoxy-dev` - * Arch Linux: `sudo pacman -S base-devel cmake git libpcap sdl2 qt5-base libslirp libarchive libepoxy` + * Ubuntu 22.04: `sudo apt install cmake libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qtbase5-dev qtmultimedia5-dev libslirp-dev libarchive-dev libepoxy-dev` + * Older Ubuntu: `sudo apt install cmake libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qt5-default qtmultimedia5-dev libslirp-dev libarchive-dev libepoxy-dev` + * Arch Linux: `sudo pacman -S base-devel cmake git libpcap sdl2 qt5-base qt5-multimedia libslirp libarchive libepoxy` 3. Download the melonDS repository and prepare: ```bash git clone https://github.com/melonDS-emu/melonDS From 338b8b5bfe3712115a6d80ca54f59dd511fbfac6 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Mon, 10 Oct 2022 18:51:16 +0200 Subject: [PATCH 2/2] Change Qt dependencies for Windows dynamic builds as well no reason to install the full huge Qt framework when there are individual packages. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9c271ec..76128dc9 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ As for the rest, the interface should be pretty straightforward. If you have a q cd melonDS ``` #### Dynamic builds (with DLLs) -5. Install dependencies: `pacman -S make mingw-w64-x86_64-{cmake,mesa,SDL2,toolchain,qt5,libslirp,libarchive,libepoxy}` +5. Install dependencies: `pacman -S make mingw-w64-x86_64-{cmake,mesa,SDL2,toolchain,qt5-base,qt5-svg,qt5-multimedia,libslirp,libarchive,libepoxy}` 6. Compile: ```bash cmake -B build -G "MSYS Makefiles"