[MacOS] make project fails

Post Reply
Posts: 1
Joined: Sun Mar 22, 2020 3:28 pm

[MacOS] make project fails

Post by FlareRXW » Sat May 30, 2020 8:43 pm

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
export PATH

# Setting PATH for Python 3.8
# The original version is saved in .bash_profile.pysave
export PATH

# Devkitpro Development Exports
# 3ds, nds, wii, gba
export DEVKITPRO=/opt/devkitpro

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

Site Admin
Posts: 1478
Joined: Tue Aug 09, 2005 3:21 am
Location: UK

Re: [MacOS] make project fails

Post by WinterMute » Sat May 30, 2020 10:36 pm

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest