Hola, hace unos dias actualize el windows vista por el 7, pero para hacerlo tuve que formatear mi disco duro, luego de poner el windows 7 me dedique a bajar e instalar los programas que tenia como el messenger, ares o winrar, cuando hiba a instalar PAlib y devkitpro me diriji hacia aca a scenebeta para ver el tuto de instalacion, lo habian actualizado por las versiones mas nuevas asi que las descargue e instale, vi que habian cambiado algunas cosas, asi que desinstale todo e instale las versiones antiguas ( el devkitpro 1.4.8, PAlib 080823 y el devkitARM 2.0) al instalar estas versiones fui a hacer una prueba de compilación y para mi sorpresa hubo errores al compilar, fui a C:\devkitPro\palib\examples\Text\Normal\HelloWorld y al compilarlo con el vham me dio este error:
main.c
In file included from c:/devkitPro/libnds/include/nds/timers.h:55,
from c:/devkitPro/libnds/include/nds.h:176,
from c:/devkitPro/palib/lib/include/nds/PA9.h:10,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/libnds/include/nds/linkedlist.h:88:7: warning: no newline at end of file
In file included from c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:10,
from c:/devkitPro/palib/lib/include/nds/arm9/PA_BgTiles.h:7,
from c:/devkitPro/palib/lib/include/nds/arm9/PA_Text.h:9,
from c:/devkitPro/palib/lib/include/nds/arm9/PA_GBFS.h:15,
from c:/devkitPro/palib/lib/include/nds/PA9.h:19,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_ReserveChannel':
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: error: (Each undeclared identifier is reported only once
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: error: for each function it appears in.)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:331: error: 'TransferRegion' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h: In function 'AS_SetMasterVolume':
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:337: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:337: 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:370: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:370: 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:379: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:379: 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:386: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:386: 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:393: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:393: 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:400: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:400: 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:406: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: 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:413: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:413: 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:419: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:419: 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:425: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:425: error: 'TransferRegion' undeclared (first use in this function)
In file included from c:/devkitPro/palib/lib/include/nds/arm9/PA_BgTiles.h:7,
from c:/devkitPro/palib/lib/include/nds/arm9/PA_Text.h:9,
from c:/devkitPro/palib/lib/include/nds/arm9/PA_GBFS.h:15,
from c:/devkitPro/palib/lib/include/nds/PA9.h:19,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_PowerOff':
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:47: error: 'IPC' undeclared (first use in this function)
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:308: error: 'IPC' 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:385: error: 'IPC' 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:402: error: 'IPC' undeclared (first use in this function)
In file included from c:/devkitPro/palib/lib/include/nds/PA9.h:53,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/palib/lib/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/lib/include/nds/PA9.h:10,
from c:/devkitPro/palib/examples/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/lib/include/nds/PA9.h:53,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/palib/lib/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/lib/include/nds/PA9.h:10,
from c:/devkitPro/palib/examples/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/lib/include/nds/PA9.h:53,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/palib/lib/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/lib/include/nds/PA9.h:10,
from c:/devkitPro/palib/examples/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/lib/include/nds/PA9.h:58,
from c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c:3:
c:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: At top level:
c:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h:45: error: 'Keyboard' redeclared as different kind of symbol
c:/devkitPro/libnds/include/nds/arm9/keyboard.h:110: error: previous declaration of 'Keyboard' was here
c:/devkitPro/palib/examples/Text/Normal/HelloWorld/source/main.c: In function 'PA_CheckLid':
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:321: warning: control reaches end of non-void function
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
Luego lo compile con el build.bat pero salio exactamente lo mismo, asi que diganme que es lo que debo hacer instalar las nuevas versiones o modificar algo de las viejas que son las que me gustan para poder tener todo en orden
Ademas del devkitarm hay que
Ademas del devkitarm hay que sustituir las libnds...
Te recomiendo este tutorial mio, 100% funcional:
http://www.espalnds.com/foros/showthread.php?t=28024
Mi creacciónes particulares:
http://www.scenebeta.com/noticia/la-serpiente
http://www.scenebeta.com/node/22535
Ok
ya solucione el problema muchas gracias a los 2
problemas para compilar con PAlib
Hola a todos. Mi problema es el su¡iguiente:
Cuando intento compilar el HelloWorld que viene de ejemplo me sale el siguiente error:
> "make"
Build process start for project "HelloWorld"...
Linking...
c:/devkitPro/PAlib/lib\libpa9.a(PA_Palette.o): In function `PA_LoadBgPalN':
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:49: undefined reference to `vramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:51: undefined reference to `vramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:53: undefined reference to `vramSetBankH'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:55: undefined reference to `vramSetBankH'
c:/devkitPro/PAlib/lib\libpa9.a(PA_Palette.o): In function `PA_InitBgExtPal':
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:31: undefined reference to `vramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:32: undefined reference to `vramSetBankH'
c:/devkitPro/PAlib/lib\libpa9.a(PA_Palette.o): In function `PA_LoadSpriteExtPal':
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:19: undefined reference to `vramSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:21: undefined reference to `vramSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:23: undefined reference to `vramSetBankI'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:25: undefined reference to `vramSetBankI'
c:/devkitPro/PAlib/lib\libpa9.a(PA_Palette.o): In function `PA_InitSpriteExtPal':
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:7: undefined reference to `vramSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:8: undefined reference to `vramSetBankI'
c:/devkitPro/PAlib/lib\libpa9.a(PA_PaletteEx.o): In function `PA_3DSetSpritePalCol':
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:62: undefined reference to `vramSetBankF'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:65: undefined reference to `vramSetBankF'
c:/devkitPro/PAlib/lib\libpa9.a(PA_PaletteEx.o): In function `PA_SetSpritePalCol':
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:53: undefined reference to `vramSetBankI'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:56: undefined reference to `vramSetBankI'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:48: undefined reference to `vramSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:51: undefined reference to `vramSetBankG'
c:/devkitPro/PAlib/lib\libpa9.a(PA_PaletteEx.o): In function `PA_SetBgPalNCol':
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:37: undefined reference to `vramSetBankH'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:40: undefined reference to `vramSetBankH'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:32: undefined reference to `vramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_PaletteEx.c:35: undefined reference to `vramSetBankE'
collect2: ld returned 1 exit status
make[1]: *** [/c/devkitPro/PAlib/examples/Text/Normal/HelloWorld/HelloWorld.elf] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
Alguien sabe a que se debe y como puedo solucionarlo ?? Gracias
Mala combinación.
Instala devkitpro con todos los archivos que tengan que ver con NDS (incluido libnds) y luego instala Palib.
PROBLEMAS CON PALIB
lo he hecho y sigue igual.
¿Qué versión
de PAlib y devkitARM estás usando?
Salu2
version de palib:
version de palib: PAlib0912XXBeta
La version del devkitARM no la se
¿Y
la del devkitARM?
EDITO: En tal caso, reinstala y asegúrate de que instalas el devkitARM correcto.
Y que version del devkitARM
Y que version del devkitARM instalo??
Digo yo
que eso viene con el tutorial que usas, ¿no?
Me parece que sería la r31, pero no me hagas mucho caso...
vamos a ver. Yo he instalado
vamos a ver. Yo he instalado el devkitpro, que ya incluye el dekitARM, por lo tanto debe estar bien no??
En teoría sí.
Pero sabiendo que en la versión que usaba yo tenía que modificarlo después, pues no sé yo si fiarme...
¿Por un casual devkitpro no te dará problemas al descargar/instalar?
Para recibir ayuda por parte de otros usuarios más rápidamente, recomendamos que pongas títulos descriptivos y no utilices abreviaturas (estilo MSN) en tus post de los foros. Recuerda que accediendo al Manual del perfecto forero y las Normas de la Comunidad aprenderás trucos para resolver tus dudas antes.