Page 1 of 1

[MacOS] make project fails

Posted: Sat May 30, 2020 8:43 pm
by FlareRXW
I am having trouble when trying to build/make projects. Everytime i attempt to build a project that is in the /opt/devkitpro/examples section. I am given an error:

Code: Select all

*** "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM".  Stop.
However. When i copy the folder of the project to anywhere within my home directory, it compiles just fine. I have already installed devkitpro and setup the exports in my ~/.bash_profile.

This is what is in my entire ~/.bash_profile file.

Code: Select all

# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH

# Setting PATH for Python 3.8
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}"
export PATH

# Devkitpro Development Exports
# 3ds, nds, wii, gba
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=${DEVKITPRO}/devkitARM
export DEVKITPPC=${DEVKITPRO}/devkitPPC

export PATH=${DEVKITPRO}/tools/bin:$PATH
If you can help, that would be greatly appreciated :D
Thanks

Re: [MacOS] make project fails

Posted: Sat May 30, 2020 10:36 pm
by WinterMute
You're not supposed to run make in the examples within /opt/devkitpro. You're supposed to copy them to your home directory & play with them there. Any changes you make there (if you could) would be overwritten by future updates.