Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch building #7

Open
impeeza opened this issue May 11, 2024 · 0 comments
Open

Switch building #7

impeeza opened this issue May 11, 2024 · 0 comments

Comments

@impeeza
Copy link

impeeza commented May 11, 2024

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:

  • switch-libzstd
  • switch-libwebp
  • switch-zlib
  • switch-libpng
  • switch-libjpeg-turbo
  • switch-freetype
  • switch-curl

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant