-
Notifications
You must be signed in to change notification settings - Fork 321
Building for Switch
Note: In order to build Julius for the Nintendo Switch, you'll need to install docker
and git
.
Instead of docker you can directly use devkitPro, but its installation and configuration are beyond the scope of this page.
-
Installing
git
:a. For a Debian-based Linux distribution, open a
Terminal
window and typesudo apt install git
b. For Mac OS, follow installing the command line developer tools in the Mac OS section
c. For Windows, follow installing Git for Windows in the Windows section
-
To install
docker
, check installingdocker
.
-
Open a
Terminal
window. -
Navigate to the directory where you want the repository folder to be installed. As an example, we're using the
home
folder:$ cd ~
-
Clone the Julius github repository to your computer:
$ git clone https://github.com/bvschaik/julius.git
-
Move to the new
julius
directory:$ cd julius
Optional: If you have already downloaded the Julius repository and only wish to update it (in order to build a newer version), instead of the previous three steps, do the following in a terminal window:
a. Move to the
julius
directory where the repository was installed.b. Type:
$ git pull origin master
c. Delete the
build
directory:$ rm -rf build
d. Proceed to step 5.
-
Obtain the proper
docker
image for Switch development.$ docker run -d --name switchdev --workdir /build/git -v "${PWD}:/build/git" devkitpro/devkita64:20200730 tail -f /dev/null
-
Use
docker
to create thebuild
directory and configurecmake
:$ docker exec switchdev /bin/bash -c "mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DTARGET_PLATFORM=switch .."
-
Build Julius using
docker
:$ docker exec switchdev /bin/bash -c "cd build && make"
Success! Julius should have been built without any errors. There should be a file called
julius.nro
, as well as julius_switch.zip
in the build
folder.
See running Julius on Switch in order to install Julius to the Nintendo Switch.
Julius information
- Improvements from Caesar 3
- Running Julius
- Command-line options
- Configuration
- Hotkeys
- Touch Support
- MP3 Support
Additional downloads
For developers