EDITADO: Al final era una estupidez: Siguiendo el tutorial de Plata en EOL, modifiqué el makefile como indica al final de todo, y, por si las moscas, cambié la libreta de las libNDS. Ahora no puedo compilar y ejecutar en DesMuMe, pero lo ejecuto aparte, compilo y lo cargo manualmente, por lo que este problema no me preocupa. Muchas gracias por vuestras sugerencias, me habéis ayudado a tomar el buen camino ^^.
****************************************
Buenas, tengo un problema, y es que seguí el videotutorial de amchacon, actualicé PAlib sin problema, incluso hice la comprobación final del vídeo (compilar el Hello World que viene en los ejemplos), sin ningún problema.
Pero ahora, cojo el main.c principal, y sin modificarlo ni nada, lo compilo y me sale esto en la secuencia de errores:
main.c
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/Proyectos/IA/source/main.c:2:
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: warning: 'getIPC' is static but used in inline function 'AS_ReserveChannel' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_SetMasterVolume' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:338: warning: 'getIPC' is static but used in inline function 'AS_SetMasterVolume' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:372: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:373: warning: 'getIPC' is static but used in inline function 'AS_SoundStop' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_MP3Pause' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:380: warning: 'getIPC' is static but used in inline function 'AS_MP3Pause' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_MP3Unpause' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:387: warning: 'getIPC' is static but used in inline function 'AS_MP3Unpause' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_MP3Stop' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_GetMP3Status' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:406: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:407: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Volume' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Delay' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Loop' which is not static
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: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Rate' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/as_lib9.h:426: warning: 'getIPC' is static but used in inline function 'AS_SetMP3Rate' which is not static
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/Proyectos/IA/source/main.c:2:
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: warning: 'getIPC' is static but used in inline function 'PA_PowerOff' which is not static
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/Proyectos/IA/source/main.c:2:
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: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:314: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
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: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:386: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
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: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
c:/devkitPro/palib/lib/include/nds/arm9/PA_General.h:403: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
In file included from c:/devkitPro/palib/lib/include/nds/PA9.h:71,
from c:/devkitPro/Proyectos/IA/source/main.c:2:
c:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h: In function 'PA_16c8pixels':
c:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h:61: warning: 'PA_Plot8Pixels' is static but used in inline function 'PA_16c8pixels' which is not static
In file included from c:/devkitPro/palib/lib/include/nds/PA9.h:71,
from c:/devkitPro/Proyectos/IA/source/main.c:2:
c:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h: In function 'PA_16cLetter':
c:/devkitPro/palib/lib/include/nds/arm9/PA_16c.h:483: warning: 'PA_16c16X16Letter' is static but used in inline function 'PA_16cLetter' which is not static
arm-eabi-g++ -g -mthumb-interwork -mno-fpu -L/C/devkitPro/palib/lib/lib -Wl -specs=ds_arm9.specs main.o -L/C/devkitPro/palib/lib/lib -lpa9 -L/c/devkitPro/libnds/lib -lfat -lnds9 -ldswifi9 -o build.elf
Nintendo DS rom tool 1.41 - May 1 2009
by Rafael Vuijk, Dave Murphy, Alexei Karpenko
built ... IA.ds.gba
dsbuild 1.21 - May 1 2009
using default loader
Parece ser que el problema es un tal getIPC, y lo irónico es que antes no me salía nada de esto. ¿Qué puedo hacer?
Salu2
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.
He desinstalado y instalado
He desinstalado y instalado las palib y me sigue llendo perfecto, he compilado mi proyecto que tiene un poco de todo (sprites, fondos, fat etc...) y me compila sin problemas... Asi que me parece que es error tuyo ^^.
Mañana subo mi carpeta del devkitpro y pruebas a sustituirla a ver...
Saludos!
Mi creacciónes particulares:
http://www.scenebeta.com/noticia/la-serpiente
http://www.scenebeta.com/node/22535
Que honor XDD. Eres la
Que honor XDD.
Eres la segunda persona que me comenta ese error, quizas recientemente hayan cambiado algo los de devkitpro... Nose
Pruebo en un momento y te cuento ok?
Saludos!
Mi creacciónes particulares:
http://www.scenebeta.com/noticia/la-serpiente
http://www.scenebeta.com/node/22535
Las ultimas palib necesitan
Las ultimas palib necesitan las ultimas libnds ademas de actualizar el makefile (esta en el template de la palib)
Actualicé todo con el pack
si no me equivoco, era devkitpro 1.5.0, las PAlib de agosto del 08, y devkitARM r26-win32. Las libNDS era una carpeta de copiar y pegar, voy a ver si con otra carpeta funciona.
Salu2
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.
Quietttttttttooooooooooooooor
Quietttttttttooooooooooooooor
Primero
Desinstalalo todo, eso es PALIb y DEVKITPRO, luego instalate entero el nuevo devkitpro http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitPro%20Updater%201.5.0/devkitProUpdater-1.5.0.exe/download
Y a continuacion la ultima version (BETA) de las PALIB hecha por fincs
http://forum.palib.info/index.php?topic=7048.msg57681#msg57681
Debes de instalarla en el mismo directorio donde instales el devkitpro "c:\devkitpro\palib" por ejemplo.
Luego actualiza el makefile en tu proyecto y andando.
Nuestra web oficial:
http://www.nightfoxandco.com/
Siguenos en facebook:
http://www.facebook.com/pages/NightFox-Co/284338634917917
Por favor, no useis los MP para preguntas, usar el FORO:
http://www.nightfoxandco.com/forum/
Asi nos ahorramos de contestar lo mismo 20 veces.