Anuncios Google

Ayuda con las nuevas PAlib

He decidido actualizarlas con el tuto nuevo de Scenebeta, pero a la hora de compilar un ejemplo me sale este error:

main.c
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:24,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/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: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:302: error: (Each undeclared identifier is reported only once
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:302: error: for each function it appears in.)
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetScreenLight':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:388: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':
c:/devkitPro/PAlib//include/nds/arm9/PA_General.h:405: error: 'IPC' undeclared (first use in this function)
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:37,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h: At top level:
c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snd'
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:55,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_SpecialFx.h:7:1: warning: "REG_MOSAIC" redefined
In file included from c:/devkitPro/libnds/include/nds/arm9/background.h:91,
                 from c:/devkitPro/libnds/include/nds.h:183,
                 from c:/devkitPro/PAlib//include/nds/PA9.h:10,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/libnds/include/nds/arm9/video.h:578:1: warning: this is the location of the previous definition
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:55,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_SpecialFx.h:8:1: warning: "REG_BLDCNT" redefined
In file included from c:/devkitPro/libnds/include/nds/arm9/background.h:91,
                 from c:/devkitPro/libnds/include/nds.h:183,
                 from c:/devkitPro/PAlib//include/nds/PA9.h:10,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/libnds/include/nds/arm9/video.h:581:1: warning: this is the location of the previous definition
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:55,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_SpecialFx.h:9:1: warning: "REG_BLDALPHA" redefined
In file included from c:/devkitPro/libnds/include/nds/arm9/background.h:91,
                 from c:/devkitPro/libnds/include/nds.h:183,
                 from c:/devkitPro/PAlib//include/nds/PA9.h:10,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/libnds/include/nds/arm9/video.h:583:1: warning: this is the location of the previous definition
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:60,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_Keyboard.h:45: error: 'Keyboard' redeclared as different kind of symbol
c:/devkitPro/libnds/include/nds/arm9/keyboard.h:110: note: previous declaration of 'Keyboard' was here
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:73,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/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
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:73,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
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
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

¿alguien sabelo que pasa? he seguido los pasos del tutorial... (no sé si tendrá a ver, pero yo las PAlib viejas las instalé con el DevKitPro 1.5)

salu2!



Anuncios Google

Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.
Imagen de Salsaman

vale almamu

ahora pruebo y te cuento

Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.