RSDuck / duckstation

Fast PlayStation 1 emulator for x86-64/AArch32/AArch64
GNU General Public License v3.0
53 stars 2 forks source link

Switch building #7

Open impeeza opened 4 months ago

impeeza commented 4 months ago

Game details

N/A

Description of the issue/bug

need help Building for Switch port

Steps to reproduce

Hello there, thanks a lot for your great work.

Following the instructions on https://github.com/RSDuck/duckstation/blob/switch-port/README_Switch.md

I needed this set of PortLibs packages:

Using MSYS2, I did run this commands:

pacman -Syuu --needed --noconfirm git make devkitA64 libnx deko3d cmake ninja switch-cmake switch-libzstd switch-libwebp switch-zlib switch-libpng switch-libjpeg-turbo switch-freetype switch-curl

Then I cloned the duckstation and your UAM repos (I don get it if this was the correct order or location of them)

git clone --recursive https://github.com/RSDuck/duckstation/
cd ~/duckstation
clone https://github.com/RSDuck/uam/
cd uam
git checkout library-target

And last run the command you instructed, but for me the code location was only «../» not «../..»:

/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -G "Ninja" -DBUILD_NOGUI_FRONTEND=ON -DBUILD_QT_FRONTEND=OFF -DENABLE_OPENGL=OFF -DENABLE_VULKAN=OFF -DENABLE_CUBEB=OFF -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON  ../

I think I get something wrong and then I don't know which steps follow next to build the Switch version.

image

Software and hardware information

N/A

DuckStation version

Latest

DuckStation rendering backend

Software

DuckStation controller backend, drivers and wrappers

Switch Port

Additional context

No response