Je viens de telecharger devkitPro et palib, et j'ai voulu tester les examples donnés. (j'ai tout fait en suivant un tuto, donc normallement il n'y a pas d'erreur de ma part)
J'en ai testé plusieurs, et aucun ne marche, quand on lance le fichier built, on reçoit les mêmes erreurs.
Quelqu'un peut me dire à quoi elles sont dûes?
Je n'ai redirigé que les erreurs (puisqu'on ne peut pas copier coller), il y avait plus de texte au debut mais ce n'était certainement pas des erreurs.
Les voici :
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:24,
from c:/devkitPro/PAlibExamples/Math/GetAngle/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:302: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:308: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetScreenLight':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:388: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:389: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:405: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:406: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:73,
from c:/devkitPro/PAlibExamples/Math/GetAngle/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8pixels':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:91: warning: 'PA_Plot8Pixels' is static but used in inline function 'PA_16c8pixels' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8X8Letter':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:105: warning: 'PA_16c8X8Color' is static but used in inline function 'PA_16c8X8Letter' which is not static
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16cLetter':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:507: warning: 'PA_16c16X16Letter' is static but used in inline function 'PA_16cLetter' which is not static
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.3.0/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
(.init+0x2ac): undefined reference to `initSystem'
collect2: ld returned 1 exit status
make[1]: *** /c/devkitPro/PAlibExamples/Math/GetAngle/GetAngle.elf Error 1
make: *** [build] Error 2
En fait, il faut installer d'abord PA Lib puis devkitpro parce que la PA lib modifie les includes et les sources de libnds sit tu fais l'installation classique.
Tu dois installer devkitarmr21, palib n'est pas compatible avec la version que tu as :
http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=124207
12 nov. 2008 à 17:41
Donc PaLib puis devkit.
@+