PDA

View Full Version : Help required to set the PAlib:DevKitPro ARM devellopment environment



Gwech
December 15th, 2009, 12:14
Hi all,
I am trying to set-up a devellopment environment to code some applications for NDS.
I followed the steps in http://www.palib.info/wiki/doku.php?id=day1 to the best I could but I nust do so,ething wrong as I keep getting error messages when I try to build the basic PAlib tenplate.

the full error message is:

main.c
In file included from c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:45,
from c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:10,
from c:/devkitPro/PAlib/lib/include/nds/PA9.h:27,
from c:/devkitPro/PAlib/template/source/main.c:10:
c:/devkitPro/PAlib/lib/include/nds/arm9/../PA_Shared.h:9: error: expected specifier-qualifier-list before 'TransferSoundData'
In file included from c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:10,
from c:/devkitPro/PAlib/lib/include/nds/PA9.h:27,
from c:/devkitPro/PAlib/template/source/main.c:10:
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_ReserveChannel':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:332: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:332: error: (Each undeclared identifier is reported only once
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:332: error: for each functionit appears in.)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMasterVolume':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:338: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SoundStop':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:371: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Pause':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:380: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Unpause':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:387: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_MP3Stop':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:394: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_GetMP3Status':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:401: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Volume':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:407: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Delay':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:414: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Loop':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:420: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMP3Rate':
c:/devkitPro/PAlib/lib/include/nds/arm9/as_lib9.h:426: error: 'TransferRegion' undeclared (first use in this function)
In file included from c:/devkitPro/PAlib/lib/include/nds/PA9.h:27,
from c:/devkitPro/PAlib/template/source/main.c:10:
c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:258: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetScreenLight':
c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:337: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':
c:/devkitPro/PAlib/lib/include/nds/arm9/PA_General.h:354: error: 'TransferRegion' undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

I must have missed something in the instqll but I can't figure out what
Any help advise is welcome.
Thanks
Gwech

padnoter
January 7th, 2010, 17:24
hi gwech,
I am having the same problem... can anyone help?
I've had an older version of devkitpro & palib working, so i suspect it might be a mismatched version of the two... the palib changelog mentions "libnds 1.3.7." but the devkitpro 1.5 updater downloads libnds 1.4.0...

can anyone confirm or help please?

regards
pn

padnoter
January 7th, 2010, 21:04
Hi,

I've got it working now, following the guide at;
http://wiki.devkitpro.org/index.php/Getting_Started/devkitARM

manually building devkitpro (older release 26?) from these files;
devkitARM_r26-win32.exe 10.9 MB 2009-05-01
nds-examples-20090504.tar.bz2 1.0 MB 2009-05-09
libgba-20090222.tar.bz2 105.4 KB 2009-02-23
libmirko-0.9.7.tar.bz2 225.7 KB 2007-02-07
libnds-1.3.7.tar.bz2 308.2 KB 2009-07-11

plus these, all in libnds folder(s)
libfat-nds-1.0.4.tar.bz2 68.9 KB 2009-04-05
dswifi-0.3.10.tar.bz2 162.3 KB 2009-07-11
maxmod-nds-1.0.6.tar.bz2 28.0 KB 2009-07-11
libfilesystem-0.9.2.tar.bz2 12.3 KB 2009-04-27
default_arm7-0.5.6.tar.bz2 31.4 KB 2009-07-11

from sourceforge

hope this helps....

cheers
pn

p.s. but any easier solutions from anyone appreciated!!

foci
January 28th, 2010, 16:23
Get the newest PAlib version here:
http://palib-dev.com/downloads.html

It should work with the latest devkitARM and libnds