Added Fedora and Arch and ubuntu deps

changes formatting of the other deps
This commit is contained in:
RyzenDew 2022-08-24 15:41:06 -03:00 committed by GitHub
parent 8d275efd4f
commit 8045b3f814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,23 +22,19 @@ You can also skip steps 3-5 and open the root folder of the cloned repo directly
To compile Cemu, a recent enough compiler and STL with C++20 support is required! We use clang 12, other compilers may work as well. To compile Cemu, a recent enough compiler and STL with C++20 support is required! We use clang 12, other compilers may work as well.
For ubuntu and most derivatives: For ubuntu and most derivatives:
`sudo apt install -y libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev clang-12 nasm`
1) Make sure vulkansdk is installed and the VULKAN_SDK environment variable is set correctly.
2) `sudo apt install -y libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev clang-12 nasm`
3) Run `git clone --recursive https://github.com/cemu-project/Cemu`
4) `cd Cemu`
5) `mkdir build && cd build`
6) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja`
8) `ninja`
For Arch and most derivatives: For Arch and most derivatives:
`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm`
For Fedora and most derivatives:
`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel clang12-libs nasm cmake vcpkg perl-core zlib-devel`
1) Make sure vulkansdk is installed and the VULKAN_SDK environment variable is set correctly. 1) Make sure vulkansdk is installed and the VULKAN_SDK environment variable is set correctly.
2) `sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm` 2) Run `git clone --recursive https://github.com/cemu-project/Cemu`
3) Run `git clone --recursive https://github.com/cemu-project/Cemu` 3) `cd Cemu`
4) `cd Cemu` 4) `mkdir build && cd build`
5) `mkdir build && cd build` 5) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja`
6) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` 6) `ninja`
8) `ninja`
Build instructions for other distributions will be added in the future! Build instructions for other distributions will be added in the future!