Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Switch building #7

@impeeza

Description

@impeeza

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions