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,034
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,034
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,034
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,034
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
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
    +1
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
  • BigOnYa @ BigOnYa:
    I've owned both iPhone and Androids over the years. Both are just as good, other than Apples higher price. I'm currently on Android, Samsung S21 I think, and very happy with it.
  • K3Nv2 @ K3Nv2:
    Got my 60 minute steps in whew
    +2
  • BigOnYa @ BigOnYa:
    I get mine in everyday, going back n forth to the fridge for a beer.
    +1
  • K3Nv2 @ K3Nv2:
    6,000 steps in so far legs almost broke getting off
    +1
  • K3Nv2 @ K3Nv2:
    Your mind gets in a werid pattern of just finishing then when you're done you're like I need a soda
  • BigOnYa @ BigOnYa:
    You get a "walkers" high?
  • K3Nv2 @ K3Nv2:
    Not really I just use to love building up a sweat
  • BigOnYa @ BigOnYa:
    Funny, that's what uremum always says
  • K3Nv2 @ K3Nv2:
    Yeah and people that take viagra think they have a big dick
  • K3Nv2 @ K3Nv2:
    You cant fix one insult edit for another edit you pog
  • BigOnYa @ BigOnYa:
    Nuh I'm on my tablet n it always auto corrects me
  • K3Nv2 @ K3Nv2:
    Heorin and uremum do have close quarters
    K3Nv2 @ K3Nv2: Heorin and uremum do have close quarters