To use and compile Pound, you will need to dump your own Switch or Switch 2 firmware and place it in the following directory:
/assets/fw/
(soon)
Run the following in your terminal:
sudo apt update
sudo apt install -y ninja-build clang lld cmake ccache libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libwayland-dev libxkbcommon-dev wayland-protocols gitNow run the following:
git clone https://www.github.com/pound-emu/pound.git
cd poundInitialize the submodules:
cd 3rd_Party
git submodule update --init --recursive
cd ..and then:
cmake -G Ninja -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
Run the following commands in your terminal:
sudo pacman -S ninja clang lld cmake ccache libx11 libxext libxrandr libxcursor libxi libxinerama libxkbcommon wayland-protocols git
Now:
git clone https://www.github.com/pound-emu/pound.gitthen:
cd poundTo initialize the submodules, direct to 3rd_Party and than run git submodule update --init --recursive
cd 3rd_Party
git submodule update --init --recursive
cd ..lastly (in the pound directory not 3rd_Party) run:
cmake -G Ninja -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++