|
|
Line 7: |
Line 7: |
|
| |
|
| '''Note:''' devkitPro/ctrulib/libctru contains ctrulib itself, and devkitPro/ctrulib/examples contains a few 3DS homebrew examples. | | '''Note:''' devkitPro/ctrulib/libctru contains ctrulib itself, and devkitPro/ctrulib/examples contains a few 3DS homebrew examples. |
|
| |
| == Adding some environment variables ==
| |
| * Under Windows: go to System properties, Advanced system settings, Environment variables.
| |
| ** Add an environment variable named CTRULIB. Set it to the path to ctrulib.
| |
| *** '''Example:''' CTRULIB -> C:\devkitPro\ctrulib\'''libctru'''
| |
| ** You also need to add devkitARM/bin to the PATH environment variable.
| |
| *** '''Example:''' PATH -> [previous value of PATH];C:\devkitPro\devkitARM\bin
| |
|
| |
| * Under Linux/Mac:
| |
| ** Add the following to your ~/.bash_proflle or equivalent:
| |
| export CTRULIB=''<path to ctrulib/libctru>''
| |
|
| |
|
| == Building ctrulib == | | == Building ctrulib == |