Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.83 KB

File metadata and controls

60 lines (47 loc) · 1.83 KB

How to install devkitpro

It works on WSL Ubuntu 20.04, is should also work on real Ubuntu. As of this writing, we are using devkitARM r64-2.
For more information, see README.

Download the script

wget https://apt.devkitpro.org/install-devkitpro-pacman; chmod +x ./install-devkitpro-pacman

Install devkitpro-pacman

sudo ./install-devkitpro-pacman

Install devkitpro

Only 3dstools (11), devkit-env (12), devkitARM (13) and picasso (16) are required to build this project.

sudo dkp-pacman -S 3ds-dev

:: There are 17 members in group 3ds-dev:
:: Repository dkp-libs
	1) 3ds-cmake  2) 3ds-examples  3) 3ds-pkg-config  4) catnip  5) citro2d  6) citro3d  7) devkitarm-cmake  8) devkitarm-crtls  9) libctru
:: Repository dkp-linux
	1)  3dslink  11) 3dstools  12) devkit-env  13) devkitARM  14) devkitARM-gdb  15) general-tools  16) picasso  17) tex3ds

Enter a selection (default=all): 11,12,13,16

Setup path

export DEVKITPRO=/opt/devkitpro; export DEVKITARM=${DEVKITPRO}/devkitARM; export PATH=${DEVKITPRO}/tools/bin:$PATH

Build libraries (usually optional)

  • Note : This step is usually optional.
    • You may need to do this when :
      • You want to make a change to the library or
      • You want to change build config such as optimization and debug flag or
      • You want to use different revision of devkitARM as stated above

If you wish to build them, then do so in this order.

  1. libctru
  2. citro3d
  3. citro2d
  4. x264
  5. libmp3lame
  6. dav1d
  7. ffmpeg
  8. zlib
  9. mbedtls
  10. nghttp2
  11. curl
  12. stb
  13. finalize