Line 64:
Line 64:
'''I get the "Please set DEVKITARM in your environment." error.'''
'''I get the "Please set DEVKITARM in your environment." error.'''
−
Use the following command before installing [http://askubuntu.com/questions/573070/problem-setting-up-environment-for-make-command-execution]:
+
Ensure you have the devkit-env package installed - (dkp-)pacman -Sl | grep devkit-env. Logout and login to get the enviroment settings.
−
sudo chown $USER /opt/devkitpro/ -R
−
echo "export DEVKITPRO=\"/opt/devkitpro/\"" >> ~/.profile
−
echo "export DEVKITARM=\"\${DEVKITPRO}/devkitARM/\"" >> ~/.profile
−
source ~/.profile
For WSL users, you need to close the Bash shell, then reopen it for WSL to reload all of the variables from a clean state.
For WSL users, you need to close the Bash shell, then reopen it for WSL to reload all of the variables from a clean state.