gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Failure compiling the example files...

#173502 - relminator - Sun Apr 11, 2010 10:39 am

Hi guys, I need some help trying out devkit arm for the first time.
I downloaded the whole devkit pro package in "download only" mode
for use on my dev pc.

So I extracted everything to thier respective folders but I can't
seem to compile the examples.

BTW, I can't install the devkitpro package via online installation because my
connection at home is a 2g wireless which have intermitent
connection and download speeds of 2-3 kbps.

My OS is WinXP.

Here's what my failed attemps gave me...

Invoking the "makefile" from "C:\devkitpro\examples\nds-examples\hello_world\"

This is the Programmer's Notepad build output:
Code:

> "make"
"make": make: Command not found
"make": *** [build] Error 127


This is the output when I ran make from the commandline:
Code:

C:\devkitpro\examples\nds-examples\hello_world>make
make: make: Command not found
make: *** [build] Error 127

C:\devkitpro\examples\nds-examples\hello_world>pause
Press any key to continue . . .


Here's the output from another example from the "C:\devkitpro\examples\nds-examples\Graphics\Sprites\simple"

Code:

C:\devkitpro\examples\nds-examples\Graphics\Sprites\simple>make
make[1]: echo: Command not found
make[1]: *** [template.o] Error 127
make: *** [build] Error 2

C:\devkitpro\examples\nds-examples\Graphics\Sprites\simple>pause
Press any key to continue . . .




This is the directory structure of my "c:\devkitpro" folder

Code:

 Directory of C:\devkitpro

04/10/2010  03:25 AM    <DIR>          .
04/10/2010  03:25 AM    <DIR>          ..
04/10/2010  03:25 AM    <DIR>          default_arm7
03/25/2010  08:16 AM    <DIR>          devkitARM
04/10/2010  03:25 AM    <DIR>          dswifi
04/10/2010  03:25 AM    <DIR>          examples
04/25/2008  11:04 AM    <DIR>          insight
04/10/2010  03:25 AM    <DIR>          libfat-gba
04/10/2010  03:25 AM    <DIR>          libfat-nds
04/10/2010  03:25 AM    <DIR>          libfat-ogc
04/10/2010  03:25 AM    <DIR>          libfilesystem
04/10/2010  03:25 AM    <DIR>          libgba
04/10/2010  03:25 AM    <DIR>          libmirko
04/10/2010  03:25 AM    <DIR>          libnds
04/10/2010  03:25 AM    <DIR>          libogc
04/10/2010  03:25 AM    <DIR>          maxmod-gba
04/10/2010  03:25 AM    <DIR>          maxmod-nds-1.0.6
04/10/2010  03:17 AM    <DIR>          msys
04/10/2010  03:25 AM    <DIR>          Programmers Notepad
               0 File(s)              0 bytes
              19 Dir(s)   2,035,535,872 bytes free
          


Here's the "C:\devkitpro\libnds" folder (as you can see both default.arm7 and default.elf have been copied there but I don't know if that's correct.)
Code:

 Directory of C:\devkitpro\libnds

04/10/2010  03:40 AM    <DIR>          .
04/10/2010  03:40 AM    <DIR>          ..
03/17/2010  04:05 AM            45,764 default.arm7
03/17/2010  04:05 AM           131,530 default.elf
12/16/2008  10:43 AM             1,142 icon.bmp
04/10/2010  03:25 AM    <DIR>          include
04/10/2010  03:25 AM    <DIR>          lib
03/13/2009  05:41 AM               956 libnds_license.txt
               4 File(s)        179,392 bytes
               4 Dir(s)   2,035,347,456 bytes free


Here are my enviromnent variables:

Path(last 2 entries for msys and devkitarm):
Code:

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\devkitpro\devkitARM\bin;C:\devkitpro\msys\bin


System Variables:
Code:

DEVKITARM
C:\devkitpro\devkitARM


Code:

DEVKITPRO
C:\devkitpro\


So what do you think went wrong?

Thanks in advance.
_________________
http://rel.betterwebber.com

#173526 - relminator - Tue Apr 13, 2010 2:59 am

Never mind. Got it to work.
_________________
http://rel.betterwebber.com

#173527 - relminator - Tue Apr 13, 2010 3:01 am

Never mind. Got it to work.
_________________
http://rel.betterwebber.com

#173537 - Azenris - Tue Apr 13, 2010 3:33 pm

Good good, have fun!
_________________
My Homebrew Games