Setting up Development Environment: Difference between revisions
WinterMute (talk | contribs) |
m Protected "Setting up Development Environment": Counter-productive edit warring ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(21 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
= Setup = | = Setup = | ||
Install [ | Install [https://devkitpro.org/ devkitA64]. If it's already installed, update it using sudo (dkp-)pacman -Syu. On Windows, there's a [https://github.com/devkitPro/installer/releases/latest graphical installer]. On Unix-like platforms such as Linux/macOS, there's [https://github.com/devkitPro/pacman/releases/latest pacman]. | ||
[https://devkitpro.org devkitPro] also provides a set of [https://hub.docker.com/u/devkitpro/ Docker images] which come pre-installed with all the portlibs packages. | |||
'''Please note: devkitPro is the organisation that provides the tools. They are not a software package, they don't have version numbers and the only way to have them compile your code is to pay them (or maybe if you ask nicely when you need help figuring out an issue)''' | |||
==Windows== | ==Windows== | ||
devkitPro provides | devkitPro provides 64-bit precompiled Windows binaries of devkitA64 which can be run directly on Windows. | ||
* If you already use msys2 then you can follow the instructions at https://github.com/devkitPro/pacman/releases/latest to add the devkitPro repositories. | |||
Otherwise | |||
* [https://github.com/devkitPro/installer/releases download the latest version of the graphical installer] from github and run it, following the instructions as you go. | * [https://github.com/devkitPro/installer/releases download the latest version of the graphical installer] from github and run it, following the instructions as you go. | ||
* An Internet connection is required. | * An Internet connection is required. | ||
* | * Ensure at least "Switch Development" is ticked - you can also leave the other options ticked if you wish. | ||
* Once the installer has finished, launch MSYS from: | * Once the installer has finished, launch MSYS from: | ||
** Windows 7 and earlier: Start -> All Programs -> devkitPro -> MSYS | ** Windows 7 and earlier: Start -> All Programs -> devkitPro -> MSYS | ||
Line 14: | Line 23: | ||
==Unix-like platforms== | ==Unix-like platforms== | ||
Currently devkitPro provides precompiled versions of | Currently devkitPro provides precompiled versions of devkitA64 for the following Unix-like platforms: Linux (x86_64), macOS (x86_64). Note that Linux x86_64 binaries are usable under WSL. | ||
* Follow the instructions to install pacman found at https://github.com/devkitPro/pacman/releases/latest | |||
* run sudo (dkp-)pacman -S switch-dev to install the tools and libraries for switch development | |||
* logout and login again to get the environment settings needed. | |||
= Building the examples = | = Building the examples = |