Anuncios Google

Novato.... problema PALIB[CERRADO]

Hola, ojala me puedan ayudar...

tengo un problema, al instalar las PALIB, tengo windows 7 y e instalado como 1000000 veces siguiendo distintos tutoriales encontrados en el foro y en internet, llegando siempre al mismo error:

 

C:\devkitPro\PAlibExamples\Text\Normal\HelloWorld>make clean
clean ...HelloWorld

C:\devkitPro\PAlibExamples\Text\Normal\HelloWorld>make
main.c
In file included from c:/devkitPro/libnds/include/fat.h:51,
                 from c:/devkitPro/PAlib//include/nds/PA9.h:21,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.c:3:
c:/devkitPro/libnds/include/nds/jtypes.h:1:2: warning: #warning "jtypes.h is a d
eprecated header, use ndstypes.h"
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:24,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.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 i
dentifier 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_SetScreenLigh
t':
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/arm9/PA_Sound.h:15,
                 from c:/devkitPro/PAlib//include/nds/PA9.h:37,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_FS.h: In function 'PA_FSInit':
c:/devkitPro/PAlib//include/nds/arm9/PA_FS.h:66: error: 'REG_EXEMEMCNT' undeclar
ed (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/m
ain.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:42,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_Motion.h: In function 'PA_MotionInit':
c:/devkitPro/PAlib//include/nds/arm9/PA_Motion.h:23: warning: implicit declarati
on of function 'motion_enable'
c:/devkitPro/PAlib//include/nds/arm9/PA_Motion.h: In function 'PA_CheckDSMotion'
:
c:/devkitPro/PAlib//include/nds/arm9/PA_Motion.h:29: warning: implicit declarati
on of function 'motion_is_inserted'
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:55,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_SpecialFx.h:7:1: warning: "REG_MOSAIC" r
edefined
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/m
ain.c:3:
c:/devkitPro/libnds/include/nds/arm9/video.h:578:1: warning: this is the locatio
n of the previous definition
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:55,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_SpecialFx.h:8:1: warning: "REG_BLDCNT" r
edefined
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/m
ain.c:3:
c:/devkitPro/libnds/include/nds/arm9/video.h:581:1: warning: this is the locatio
n of the previous definition
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:55,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.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/m
ain.c:3:
c:/devkitPro/libnds/include/nds/arm9/video.h:583:1: warning: this is the locatio
n of the previous definition
In file included from c:/devkitPro/PAlib//include/nds/PA9.h:60,
                 from c:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_Keyboard.h: At top level:
c:/devkitPro/PAlib//include/nds/arm9/PA_Keyboard.h:45: error: 'Keyboard' redecla
red 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/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8pixels':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:84: warning: 'PA_Plot8Pixels' is s
tatic 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:98: warning: 'PA_16c8X8Color' is s
tatic 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/m
ain.c:3:
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16cLetter':
c:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:500: 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

C:\devkitPro\PAlibExamples\Text\Normal\HelloWorld>pause
Presione una tecla para continuar . . .

 

He seguido todos los pasos que salen, para solucionar este tipo de errores, pero sin coseguir exito... si alguien puede echar una mano se lo agradeceria mucho

Hilo cerrado por ser revivido.


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 Cheleon

yo para solucionar eso en

yo para solucionar eso en windows 7 lo que hice fue instalarlo en el escritorio

Imagen de OdnetninI

tambien pero a mi no me lo

tambien

pero a mi no me lo cojia las variantes

asi que una particion

Imagen de Cheleon

¿Como que no te cogia las

¿Como que no te cogia las varientes? No te entiendo...

Imagen de OdnetninI

se lo que dices a mi tambien

se lo que dices a mi tambien me paso lo que hice fue una particion al disco principal y lo instale alli desde entonces no me ha dado ningun error

la explicacion es

las varibles de windows 7 a veces dan fallo pero en un disco secundario las acepta por ser una seccion diferente al arranque

explicacion de eso no existe

intentalo y me cuentas


Be Libre my Friend.

Imagen de 123456abcdef

Desinstalalo y sigue este

Desinstalalo y sigue este tuto http://www.youtube.com/watch?v=Wz96deue9nk 

Imagen de Anabol

Por lo que leí en otro post

Por lo que leí en otro post ya había encontrado la solución, que creo que es la que está en el último comentario Salu2.

Imagen de eglomer

Tiene pinta de ser que no

Tiene pinta de ser que no has metido el devkitarm o las libNDS correctas...

gracias... igual me da el error

Gracias por la respuesta, segui al pie de la letra el tutorial, pero me da el mismo error ... o muy similar

 

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 `v
ramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:51: undefined reference to `v
ramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:53: undefined reference to `v
ramSetBankH'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:55: undefined reference to `v
ramSetBankH'
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 `v
ramSetBankE'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:32: undefined reference to `v
ramSetBankH'
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 `v
ramSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:21: undefined reference to `v
ramSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:23: undefined reference to `v
ramSetBankI'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:25: undefined reference to `v
ramSetBankI'
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 `vr
amSetBankG'
c:/devkitPro/PAlib/source/arm9/source/PA_Palette.c:8: undefined reference to `vr
amSetBankI'
c:/devkitPro/PAlib/lib\libpa9.a(PA_PaletteEx.o): In function `PA_3DSetSpritePalC
ol':
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
Presione una tecla para continuar . . .

Imagen de Ky0l3r

Solucion

Las versiones a partir de la R28 (y hasta dia de hoy la 30 me parece) tienen problemas con este tipo de errores (vrambank)

A mi me pasabe exactamente lo mismo, y la solucion es realmente muy simple:

Debemos ir al directorio \devkitpro\PAlib\source\  ejecutamos el clean.bat y luego el build.bat

esperamos a que termine (no debe dar ningun error) e intentamos compilar algo de nuevo (yo lo probe con el "hello world")

Y listo!
errores de vrambank solucionados Todo bien

 

Un saludo!


--. Ælfric Vortum /c .--

  • Psp Phat, cfw Neur0n 6.60 Pro-c Fix 3
  • DSi Azul Metalico con TTDSi + MicroSD 8Gb Todo bien
  • 3DS Cobalt Blue, edic. Luigi's Mansion.

debian=libertad

Imagen de NEKERAFA

Ayudenme

Hola, estoy intentando instalarlo y me da el mismo error. He echo eso mismo que dice Vortrum pero me da errores al ejecutar el build.bat, no se que hacer


NekeOS, el nuevo shell para PSP

PS4 500GB OFW, PS3 320GB OFW, PS3 500GB OFW, PSP 6.39 PRO-C Fix4.

Sony Xperia Z1 Compact con Android 5.1.1

Portatil Lenovo z50-70 Intel® Core™ i7-4510U y NVIDIA GeForce 840M con Elementary OS 0.3.2 Freya (64 bits) y Windows 10 (64 bits).

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.