Skip to content

Recommended Build/Compile guide for your Turnips project page #78

Closed

Description

@Thundereus

Heya!
First thank you for working ony this project. It is a really great tool that I use very often, almost daily!
When I saw that you updated Turnips for 3.0.3 there is still no .nro file so I wanted to build it myself.

So I tried to compile/built something myself for the first time from Github but even with years of experience in non-programming IT stuff I quickly hit a wall because the guide assumes a lot without telling a git-noob like me what to do exactly. The documentations are often so overwhelmingly and unnecessary long and include useless stuff that no simple dork needs if they just want to compile something so I simply asked some sloppy AI to explain it to me and it worked.

Because it is much easier than expected I thought I should share my "discovery" for other people who don't know anything about it.

I am just not sure if you need to do more steps in Linux than what you already wrote. I just assume you use the terminal to simply do everything without much else before, right? If you want please add or correct the Linux instructions beneath the Windows one if they are missing something.


Compiling for noobs (Windows and Linux):

Important: Building needs a working devkitA64 environment, with packages libnx, deko3d and switch-glm installed.

Windows:
(Type all commands without quotes.)
--- Installation of tool and libraries ---

  1. Download DevkitA64 / DevkitPro ( https://github.com/devkitPro/installer )
  2. Without overcomplicating it just install everything included and click through the installer.
  3. Start Msys2 (Just a black command Window) found via Windows start menu search. Alternatively you can start the .bat file (C:\devkitPro\msys2\msys2_shell.bat)
  4. Type "pacman -S switch-glm" and then press enter.
  5. Type "Y" to confirm installation/download and press enter.

--- Compile Turnips project into .nro ---
6. Type in (still in Msys2) "git clone --recursive https://github.com/averne/Turnips.git"
7. Then type in "cd Turnips" so it switches to the directory the project has been downloaded in.
8. Type "make".
9. If everything is working corectly now the project should be compiled and be in "C:\users\username\Turnips\out".
Done

Linux:
In Terminal type:

  1. sudo (dkp-)pacman -S switch-dev
  2. $ git clone --recursive https://github.com/averne/Turnips.git
  3. $ cd Turnips
  4. $ make -j$(nproc)
  5. Output will be located in out/.

Activity

  1. averne commented on May 16, 2026

    @averne
    Owner

    Hello, maybe you could PR this guide to the README?

  2. Thundereus commented on May 17, 2026

    @Thundereus
    ContributorAuthor

    Sure, I can try that.
    I am actually pretty unexperienced in using Github properly so I don't know if I will do this right.

  3. Thundereus commented on May 17, 2026

    @Thundereus
    ContributorAuthor

    Okay... I think it worked? The pull request should include my change from the README.md from the fork I had to make.

  4. averne commented on May 17, 2026

    @averne
    Owner

    Addressed by #80, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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