PDA

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



Gwech
December 15th, 2009, 11:07
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 specif
ier-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_ReserveChanne
l':
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 :confused:
Any help advise is welcome.
Thanks
Gwech