Difference between revisions of "Nintendo 3DS"

Jump to navigation Jump to search
412 bytes added ,  19:47, 30 November 2020
Add workaround for "namespace _3DS" issues in 3dsvars.sh script
(Initial version)
 
(Add workaround for "namespace _3DS" issues in 3dsvars.sh script)
Line 226: Line 226:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
export PATH=$DEVKITARM/bin:$PATH
export PATH=$DEVKITARM/bin:$PATH
</syntaxhighlight>
In case you get an error about "namespace _3DS", edit the line in /opt/devkitpro/3dsvars.sh that reads
<syntaxhighlight lang="bash">
export CPPFLAGS="-D_3DS -I${PORTLIBS_PREFIX}/include -I${DEVKITPRO}/libctru/include"
</syntaxhighlight>
and remove the "-D_3DS" part so that it reads
<syntaxhighlight lang="bash">
export CPPFLAGS="-I${PORTLIBS_PREFIX}/include -I${DEVKITPRO}/libctru/include"
</syntaxhighlight>
</syntaxhighlight>


8

edits

Navigation menu