From f0d7aa76251c0bd6393ffac9d65a6d31ab6e6ff7 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sat, 27 Aug 2022 18:24:10 -0300 Subject: [PATCH 01/21] Added other Distro's Deps Added: Arch Linux deps Added : Fedora Deps --- BUILD.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/BUILD.md b/BUILD.md index ab0dd10d..68eb5e36 100644 --- a/BUILD.md +++ b/BUILD.md @@ -22,11 +22,19 @@ To compile Cemu, a recent enough compiler and STL with C++20 support is required For ubuntu and most derivatives: -1) `sudo apt install -y libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev clang-12 nasm ninja-build` -2) Run `git clone --recursive https://github.com/cemu-project/Cemu` -3) `cd Cemu` -4) `mkdir build && cd build` -5) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-12 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-12 -G Ninja` -6) `ninja` -Build instructions for other distributions will be added in the future! +`sudo apt install -y libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev clang-12 nasm ninja-build` + +For Arch and most derivatives: + +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib vcpkg` + +For Fedora and most derivatives: + +`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm cmake vcpkg perl-core zlib-devel` + +1) Run `git clone --recursive https://github.com/cemu-project/Cemu` +2) `cd Cemu` +3) `mkdir build && cd build` +4) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-12 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-12 -G Ninja` +5) `ninja` From 90613f86970986f8d1968bc12004564dddd0b938 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sat, 27 Aug 2022 18:28:30 -0300 Subject: [PATCH 02/21] Update BUILD.md --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 68eb5e36..25e3c059 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,7 +27,7 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib vcpkg` +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib vcpkg zip unzip` For Fedora and most derivatives: From 1fc1959e0aa1b441d227cc52a7b506d113d5b79a Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sat, 27 Aug 2022 18:30:09 -0300 Subject: [PATCH 03/21] Update BUILD.md --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 25e3c059..62e69e0e 100644 --- a/BUILD.md +++ b/BUILD.md @@ -31,7 +31,7 @@ For Arch and most derivatives: For Fedora and most derivatives: -`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm cmake vcpkg perl-core zlib-devel` +`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm cmake vcpkg perl-core zlib-devel cubeb-devel` 1) Run `git clone --recursive https://github.com/cemu-project/Cemu` 2) `cd Cemu` From de6624cd4fb692d1d725768a363d05bad074780a Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sat, 27 Aug 2022 20:28:21 -0300 Subject: [PATCH 04/21] updated arch deps added vcpkg for arch because it's aur only . --- BUILD.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 62e69e0e..40e5a594 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,7 +27,9 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib vcpkg zip unzip` +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip` + +Go here https://aur.archlinux.org/packages/vcpkg Press download snapshot next unzip it and go into the folder open terminal and type `makepkg -si` For Fedora and most derivatives: From 5f44140d2d74e4024e4a20f2e37800566d760f9a Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sat, 27 Aug 2022 22:08:44 -0300 Subject: [PATCH 05/21] Update BUILD.md --- BUILD.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 40e5a594..0874fe38 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,13 +27,13 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip` +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip linux-headers` Go here https://aur.archlinux.org/packages/vcpkg Press download snapshot next unzip it and go into the folder open terminal and type `makepkg -si` For Fedora and most derivatives: -`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm cmake vcpkg perl-core zlib-devel cubeb-devel` +`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm cmake vcpkg perl-core zlib-devel cubeb-devel kernel-headers` 1) Run `git clone --recursive https://github.com/cemu-project/Cemu` 2) `cd Cemu` From 88cc8f48bc2e26126b6f84d63e45b45e36bd3fb9 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 00:29:44 -0300 Subject: [PATCH 06/21] added an extra dep due to lack of common sense installing base-devel is common sense sad i have to add it --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 0874fe38..315804f9 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,7 +27,7 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip linux-headers` +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip linux-headers base-devel` Go here https://aur.archlinux.org/packages/vcpkg Press download snapshot next unzip it and go into the folder open terminal and type `makepkg -si` From c33e6c6a771a4e8a50dc0c97086bb0d756f2d440 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 01:30:37 -0300 Subject: [PATCH 07/21] did things starting to get why people don't like working with linux people --- BUILD.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 315804f9..94bac4c3 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,9 +27,9 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip linux-headers base-devel` +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip linux-headers base-devel ninja cmake` -Go here https://aur.archlinux.org/packages/vcpkg Press download snapshot next unzip it and go into the folder open terminal and type `makepkg -si` +vcpkg is not needed to be installed and provided by cemu when git cloning. For Fedora and most derivatives: From 0768fbb2ef487b9ca214d3593709ccd6319439eb Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 02:03:54 -0300 Subject: [PATCH 08/21] updated arch deps tested this in a fresh vm of properly installed arch linux. --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 94bac4c3..9950934d 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,7 +27,7 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm git zlib zip unzip linux-headers base-devel ninja cmake` +`sudo pacman -S cmake git base-devel ninja nasm linux-headers` vcpkg is not needed to be installed and provided by cemu when git cloning. From a691f93423ec491a0085e250bc4c18096dc51904 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 02:10:20 -0400 Subject: [PATCH 09/21] Fixed Fedora Deps --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 9950934d..f773a146 100644 --- a/BUILD.md +++ b/BUILD.md @@ -33,7 +33,7 @@ vcpkg is not needed to be installed and provided by cemu when git cloning. For Fedora and most derivatives: -`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm cmake vcpkg perl-core zlib-devel cubeb-devel kernel-headers` +`sudo dnf in cmake ninja-build vcpkg llvm kernel-headers gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel nasm perl-core zlib-devel cubeb-devel` 1) Run `git clone --recursive https://github.com/cemu-project/Cemu` 2) `cd Cemu` From 6e49b65442b135f3f7260bd4bd304c9fd1b09054 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 02:23:47 -0400 Subject: [PATCH 10/21] added zip added zip if the arch user runs KDE it doesn't come with zip like gnome. --- BUILD.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index f773a146..bc6d3569 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,7 +27,9 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S cmake git base-devel ninja nasm linux-headers` +`sudo pacman -S cmake git base-devel ninja nasm linux-headers zip` + +Added zip incase the user runs KDE but with gnome zip is included. vcpkg is not needed to be installed and provided by cemu when git cloning. From 4e780d18cf65cb6d727c9db51ea40f125c4cb332 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:13:22 -0300 Subject: [PATCH 11/21] Fixed clang instuctions Fixed clang instructions --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index bc6d3569..7fd51694 100644 --- a/BUILD.md +++ b/BUILD.md @@ -40,5 +40,5 @@ For Fedora and most derivatives: 1) Run `git clone --recursive https://github.com/cemu-project/Cemu` 2) `cd Cemu` 3) `mkdir build && cd build` -4) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang-12 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-12 -G Ninja` +4) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja` 5) `ninja` From 92a397e39c6e922151a1c939da297efdc33087ba Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:17:51 -0300 Subject: [PATCH 12/21] Added cmake gcc Added gcc cmake instuctions --- BUILD.md | 1 + 1 file changed, 1 insertion(+) diff --git a/BUILD.md b/BUILD.md index 7fd51694..6afc57d4 100644 --- a/BUILD.md +++ b/BUILD.md @@ -41,4 +41,5 @@ For Fedora and most derivatives: 2) `cd Cemu` 3) `mkdir build && cd build` 4) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja` +5to build for gcc `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` 5) `ninja` From 6cf5b3b6492f165bc87712086272b0b0597c6d0f Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:18:57 -0300 Subject: [PATCH 13/21] Update BUILD.md --- BUILD.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 6afc57d4..e9e3ca19 100644 --- a/BUILD.md +++ b/BUILD.md @@ -41,5 +41,5 @@ For Fedora and most derivatives: 2) `cd Cemu` 3) `mkdir build && cd build` 4) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja` -5to build for gcc `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` -5) `ninja` +4.5) To build for gcc `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` +6) `ninja` From 4f0477173de6ad97113bed96bf905ad7934ef1cb Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:19:31 -0300 Subject: [PATCH 14/21] Update BUILD.md --- BUILD.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD.md b/BUILD.md index e9e3ca19..5cc8cc82 100644 --- a/BUILD.md +++ b/BUILD.md @@ -41,5 +41,7 @@ For Fedora and most derivatives: 2) `cd Cemu` 3) `mkdir build && cd build` 4) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja` + 4.5) To build for gcc `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` + 6) `ninja` From 22f28d7dcb1b12028a1b462d6102414a2a498846 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:24:41 -0300 Subject: [PATCH 15/21] Update BUILD.md --- BUILD.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 5cc8cc82..8c373531 100644 --- a/BUILD.md +++ b/BUILD.md @@ -27,7 +27,9 @@ For ubuntu and most derivatives: For Arch and most derivatives: -`sudo pacman -S cmake git base-devel ninja nasm linux-headers zip` +`sudo pacman -S cmake git base-devel ninja nasm linux-headers zip spirv-headers` + +Vcpkg provides spirv-headers but for some it's needed in arch it seems. Added zip incase the user runs KDE but with gnome zip is included. From c940d01b65139a31527c72426963071cb80a459b Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 13:14:33 -0300 Subject: [PATCH 16/21] Update BUILD.md --- BUILD.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/BUILD.md b/BUILD.md index 8c373531..a6e3bd3b 100644 --- a/BUILD.md +++ b/BUILD.md @@ -29,11 +29,6 @@ For Arch and most derivatives: `sudo pacman -S cmake git base-devel ninja nasm linux-headers zip spirv-headers` -Vcpkg provides spirv-headers but for some it's needed in arch it seems. - -Added zip incase the user runs KDE but with gnome zip is included. - -vcpkg is not needed to be installed and provided by cemu when git cloning. For Fedora and most derivatives: From b1c784f8607dfb0e31390e9214369a1968b8a627 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:24:43 -0300 Subject: [PATCH 17/21] Added a side note --- BUILD.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BUILD.md b/BUILD.md index a6e3bd3b..e3da275d 100644 --- a/BUILD.md +++ b/BUILD.md @@ -42,3 +42,7 @@ For Fedora and most derivatives: 4.5) To build for gcc `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` 6) `ninja` + +Due to issue with clang and how ubuntu is handles it's filesystem and libs some of +You might not have audio and an option is to use pulseaudio instead of pipewire +But this is a very bad idea and could cause more issues with stability. From 1ff110fa17fb737d48652d31f0ed557acb646d00 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:29:22 -0300 Subject: [PATCH 18/21] Update BUILD.md --- BUILD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index e3da275d..0c8c02de 100644 --- a/BUILD.md +++ b/BUILD.md @@ -43,6 +43,6 @@ For Fedora and most derivatives: 6) `ninja` -Due to issue with clang and how ubuntu is handles it's filesystem and libs some of +Due to issue with clang and how ubuntu handles it's filesystem and libs some of You might not have audio and an option is to use pulseaudio instead of pipewire But this is a very bad idea and could cause more issues with stability. From 95a4e7d786f4a5f078be8040fb35719ad179d874 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 14:57:26 -0400 Subject: [PATCH 19/21] Update BUILD.md --- BUILD.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 0c8c02de..37e573d0 100644 --- a/BUILD.md +++ b/BUILD.md @@ -43,6 +43,7 @@ For Fedora and most derivatives: 6) `ninja` -Due to issue with clang and how ubuntu handles it's filesystem and libs some of +Due to some issue and how ubuntu handles it's filesystem as cited here https://wiki.ubuntu.com/MultiarchSpec. You might not have audio and an option is to use pulseaudio instead of pipewire But this is a very bad idea and could cause more issues with stability. +Sources : https://wiki.ubuntu.com/MultiarchSpec From 0b25da319b6b65cfe7d10186bf9f126914af8a26 Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 14:57:40 -0400 Subject: [PATCH 20/21] Update BUILD.md --- BUILD.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 37e573d0..3e4d36d9 100644 --- a/BUILD.md +++ b/BUILD.md @@ -45,5 +45,4 @@ For Fedora and most derivatives: Due to some issue and how ubuntu handles it's filesystem as cited here https://wiki.ubuntu.com/MultiarchSpec. You might not have audio and an option is to use pulseaudio instead of pipewire -But this is a very bad idea and could cause more issues with stability. -Sources : https://wiki.ubuntu.com/MultiarchSpec +But this is a very bad idea and could cause more issues with stability. From 8f7de2a583b023dcac2004a4827d3d6c68df9bac Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:00:17 -0400 Subject: [PATCH 21/21] Update BUILD.md --- BUILD.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/BUILD.md b/BUILD.md index 3e4d36d9..a6e3bd3b 100644 --- a/BUILD.md +++ b/BUILD.md @@ -42,7 +42,3 @@ For Fedora and most derivatives: 4.5) To build for gcc `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G Ninja -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` 6) `ninja` - -Due to some issue and how ubuntu handles it's filesystem as cited here https://wiki.ubuntu.com/MultiarchSpec. -You might not have audio and an option is to use pulseaudio instead of pipewire -But this is a very bad idea and could cause more issues with stability.