Setting up Development Environment: Difference between revisions

Neobrain (talk | contribs)
Added sf2dlib, gl3ds, caelina, and 3ds-cmake
Replace "Optional Tools and Libraries" section with a link to "Homebrew Libraries and Tools"
Line 2: Line 2:
* Install [http://devkitpro.org/ devkitARM]. If it's already installed, update it. On Windows there's a GUI installer. On Linux/Mac there's a perl-script. Make sure you also select ctrulib when installing.
* Install [http://devkitpro.org/ devkitARM]. If it's already installed, update it. On Windows there's a GUI installer. On Linux/Mac there's a perl-script. Make sure you also select ctrulib when installing.
* Download the files in the [https://github.com/smealum/ctrulib/archive/master.zip ctrulib repository] (even though the library has already been installed) because the repository contains a 3DS project template and examples.
* Download the files in the [https://github.com/smealum/ctrulib/archive/master.zip ctrulib repository] (even though the library has already been installed) because the repository contains a 3DS project template and examples.
* Depending on the kind of homebrew you want to develop, you may be interested in installing and using additional libraries and tools which don't ship alongside devkitARM/libctru. A list of them can be found in [[Homebrew Libraries and Tools]].


==Linux==
==Linux==
Line 26: Line 27:
source ~/.bashrc
source ~/.bashrc
</pre>
</pre>
==Optional Tools and Libraries==
There are a number of other things which don't ship alongside devkitARM but which you might be interested in obtaining:
* Lectem has written a [https://github.com/Lectem/3ds-cmake CMake build system] for 3DS homebrew as a modern alternative to plain Makefiles
* An alternative GPU shader assembler called nihstro is available at [http://4dsdev.org/thread.php?id=14 4dsdev]. Windows binaries are available, while it needs to be compiled from source on other platforms.
* xerpi has written a simple 2D graphics library called [https://github.com/xerpi/sf2dlib sf2dlib]
* There are two incomplete OpenGL implementations available for 3DS development: [https://github.com/machinamentum/Caelina Caelina] and [https://github.com/cpp3ds/gl3ds gl3ds]


= Building the examples =
= Building the examples =