Help. Failed to compile examples.

support for the ARM toolchain
Post Reply
relminator
Posts: 84
Joined: Sun Apr 11, 2010 10:43 am

Help. Failed to compile examples.

Post by relminator » Sun Apr 11, 2010 10:48 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: Select all

> "make" 
"make": make: Command not found
"make": *** [build] Error 127
This is the output when I ran make from the commandline:

Code: Select all

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: Select all

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: Select all

 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: Select all

 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: Select all

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: Select all

DEVKITARM
C:\devkitpro\devkitARM

Code: Select all

DEVKITPRO
C:\devkitpro\
So what do you think went wrong?

Thanks in advance.

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: Help. Failed to compile examples.

Post by vuurrobin » Sun Apr 11, 2010 11:03 am

well, the DEVKITPRO environment needs to be /c/devkitpro and /c/devkitpro\devkitARM for devkitARM, but not sure if that would make an difference.

you can also just download the stuff manually from sourceforge, and then use the installer to install it. if you put the packages in the same directory as the installer, the installer will pick those instead of downloading it themselves.

relminator
Posts: 84
Joined: Sun Apr 11, 2010 10:43 am

Re: Help. Failed to compile examples.

Post by relminator » Sun Apr 11, 2010 11:12 am

Thanks a bunch! I'm reinstalling it now. :P

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest