Homebrew Having trouble setting up devkitpro

Deleted member 424658

Annoying Weaboo Girl
OP
Member
Joined
Jun 4, 2017
Messages
499
Trophies
0
Age
24
Website
www.reddit.com
XP
677
Country
United States
I'm pretty sure I've set everything up according to their guide here https://devkitpro.org/wiki/Getting_Started/devkitARM but nothing is able to compile, even the nds examples.

devkitpro folder: http://i.imgur.com/1XQRTbd.png

devkitarm folder: http://i.imgur.com/0060Y8J.png

libnds folder: http://i.imgur.com/CTSwRPP.png

files I downloaded from the guide page: http://i.imgur.com/4zvkGPh.png

I unzipped the files into folders as directed in the guide, so just about everything was unzipped to the libnds folder. There's also a section at the bottom of the page where it gave commands to put in .bashrc (using Linux) which I modified to redirect to where I placed my installation (on a sd card since my hard drive space is really limited) which it seems to be typed in properly. http://i.imgur.com/aHna4Fx.png
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,029
Country
United States
I'm pretty sure I've set everything up according to their guide here https://devkitpro.org/wiki/Getting_Started/devkitARM but nothing is able to compile, even the nds examples.

devkitpro folder: http://i.imgur.com/1XQRTbd.png

devkitarm folder: http://i.imgur.com/0060Y8J.png

libnds folder: http://i.imgur.com/CTSwRPP.png

files I downloaded from the guide page: http://i.imgur.com/4zvkGPh.png

I unzipped the files into folders as directed in the guide, so just about everything was unzipped to the libnds folder. There's also a section at the bottom of the page where it gave commands to put in .bashrc (using Linux) which I modified to redirect to where I placed my installation (on a sd card since my hard drive space is really limited) which it seems to be typed in properly. http://i.imgur.com/aHna4Fx.png
You neglected to include the errors you are receiving. Without knowing what the actual problem is, it is hard to help. Make sure to include the error as well as what you are trying to compile.
 

Deleted member 424658

Annoying Weaboo Girl
OP
Member
Joined
Jun 4, 2017
Messages
499
Trophies
0
Age
24
Website
www.reddit.com
XP
677
Country
United States

Deleted member 424658

Annoying Weaboo Girl
OP
Member
Joined
Jun 4, 2017
Messages
499
Trophies
0
Age
24
Website
www.reddit.com
XP
677
Country
United States
Are you trying to execute "./Makefile" directly? You need to run "make" instead.
lyrin@chromebook:/media/lyrin/TERMINAL/devkitpro/examples/nds$ make
make[1]: Entering directory '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio'
make[2]: Entering directory '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod'
make[3]: Entering directory '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes'
soundbank.bin
main.c
arm-none-eabi-gcc -MMD -MP -MF /media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -iquote /media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/include -I/media/lyrin/TERMINAL/devkitpro/libnds/include -I/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/build -DARM9 -c /media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/source/main.c -o main.o
In file included from /media/lyrin/TERMINAL/devkitpro/libnds/include/nds/arm9/boxtest.h:32:0,
from /media/lyrin/TERMINAL/devkitpro/libnds/include/nds.h:254,
from /media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/source/main.c:25:
/media/lyrin/TERMINAL/devkitpro/libnds/include/nds/arm9/videoGL.h: In function 'glGetFixed':
/media/lyrin/TERMINAL/devkitpro/libnds/include/nds/arm9/videoGL.h:1267:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(GFX_BUSY); // wait until the graphics engine has stopped to read matrixes
^~~~~
/media/lyrin/TERMINAL/devkitpro/libnds/include/nds/arm9/videoGL.h:1268:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
for(i = 0; i < 16; i++) f = MATRIX_READ_CLIP; // read out the projection matrix
^~~
/media/lyrin/TERMINAL/devkitpro/libnds/include/nds/arm9/videoGL.h:1275:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(GFX_BUSY); // wait until the graphics engine has stopped to read matrixes
^~~~~
/media/lyrin/TERMINAL/devkitpro/libnds/include/nds/arm9/videoGL.h:1276:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
for(i = 0; i < 16; i++) f = MATRIX_READ_CLIP; // read out the position matrix
^~~
linking audio_modes.elf
/media/lyrin/TERMINAL/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/lib/thumb/ds_arm9_crt0.o: In function `IPCSync':
(.crt0+0x2e4): undefined reference to `__secure_area__'
/media/lyrin/TERMINAL/devkitpro/libnds/lib/libnds9.a(initSystem.o): In function `initSystem':
c:/Users/davem_000/projects/devkitPro/libnds-master/libnds/arm9/../source/arm9/system/initSystem.c:97: undefined reference to `punixTime'
collect2: error: ld returned 1 exit status
/media/lyrin/TERMINAL/devkitpro/devkitARM/ds_rules:53: recipe for target '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/audio_modes.elf' failed
make[4]: *** [/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes/audio_modes.elf] Error 1
Makefile:109: recipe for target 'build' failed
make[3]: *** [build] Error 2
make[3]: Leaving directory '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod/audio_modes'
Makefile:3: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio/maxmod'
Makefile:3: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/media/lyrin/TERMINAL/devkitpro/examples/nds/audio'
Makefile:13: recipe for target 'examples' failed
make: *** [examples] Error 1
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,029
Country
United States
Based on the linking errors it look like you have a mismatch between the version of libnds installed and the version of the examples. any reason you didn't use the Linux install script?
 

Deleted member 424658

Annoying Weaboo Girl
OP
Member
Joined
Jun 4, 2017
Messages
499
Trophies
0
Age
24
Website
www.reddit.com
XP
677
Country
United States
Based on the linking errors it look like you have a mismatch between the version of libnds installed and the version of the examples. any reason you didn't use the Linux install script?
Strange, I got everything as told in the guide. And I'm thinking the install script installs directly to "/opt/devkitpro" which I don't really want since I have just over 500 mb left on my computer. I suppose I can just go into the script and fix it but I'm extremely tired atm.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,029
Country
United States
Strange, I got everything as told in the guide. And I'm thinking the install script installs directly to "/opt/devkitpro" which I don't really want since I have just over 500 mb left on my computer. I suppose I can just go into the script and fix it but I'm extremely tired atm.
The script is the recommended approach. I am not sure if the guide is up to date.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,029
Country
United States
Did the script approach, installs properly (though the files download slowly for some reason), and the examples build albeit slowly.
If you changed the path to point at removable storage then that is not very surprising. Glad you got it working though.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: They see me trolling, they hating, cause I'm all angry and verbally abusive lol