:: PlayerAdvance.org ::  

Pr嶰嶮ent   :: PlayerAdvance.org :: > :: Forums H嶵erg廥 :: > 無ibrary

無ibrary Official 無ibrary forum (English / Fran蓷is)

Publicit

R廧onse
 
Outils de la discussion Modes d'affichage
Vieux 23/06/2009, 05h43   #1
Drazalon
Newbie
 
Date d'inscription: 23/06/2009
Messages: 2
Par d嶨aut uLib Compile Errors

Hello, I recently attempted to compile the uLib 1.22 examples but failed. I'm not sure what went wrong. Could someone direct me to the right direction?

Here are the error logs for Example01. As you can see I have changed the "ulib/ulib.h" to the appropriate directory: "uLibrary/Install/ulib.h" and tried to fix the undeclared handles, still the ulib.h is unidentified along with all those undeclared :/

Best Regards,
Drazalon
Code:
C:\devkitPro\uLibrary\Examples\Example01>make
main.c
arm-eabi-gcc -MMD -MP -MF /c/devkitPro/uLibrary/Examples/Example01/build/main.d
-g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -m
thumb-interwork -I/c/devkitPro/uLibrary/Examples/Example01/include -I/c/devkitPr
o/uLibrary/Examples/Example01/build -I/c/devkitPro/libnds/include -I/c/devkitPro
/libnds/include -I/c/devkitPro/uLibrary/Examples/Example01/build -DARM9 -c /c/de
vkitPro/uLibrary/Examples/Example01/source/main.c -o main.o
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:7:35: warning: uLibrary/Install/ulib.h: No such file or directory
c:/devkitPro/uLibrary/Examples/Example01/source/main.c: In function 'main':
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:12: warning: implicit dec
laration of function 'ulInit'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:12: error: 'UL_INIT_ALL'
undeclared (first use in this function)
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:12: error: (Each undeclar
ed identifier is reported only once
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:12: error: for each funct
ion it appears in.)
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:14: warning: implicit dec
laration of function 'ulInitGfx'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:16: warning: implicit dec
laration of function 'ulInitText'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:19: warning: implicit dec
laration of function 'ulShowSplashScreen'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:25: warning: implicit dec
laration of function 'ulStartDrawing2D'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:28: warning: implicit dec
laration of function 'ulDrawString'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:31: warning: implicit dec
laration of function 'ulEndDrawing'
c:/devkitPro/uLibrary/Examples/Example01/source/main.c:34: warning: implicit dec
laration of function 'ulSyncFrame'
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

C:\devkitPro\uLibrary\Examples\Example01>pause
Press any key to continue . . .
Drazalon est d嶰onnect   R廧onse avec citation

Publicit

Vieux 23/06/2009, 16h54   #2
Drazalon
Newbie
 
Date d'inscription: 23/06/2009
Messages: 2
Par d嶨aut Succesfully Compiled Most Examples except for 7 and 9

Hello there this is just another update of whats going on. So to be clear I am currently using PALib Latest BETA Build (PAlib 090621 - 21.Jun 2009)
I am using the latest version of DevkitPro, just updated Devkitarm and everything.

As the title says I can now compile all examples except for Example07 and Example09. I think it may be a devARM combatibility problem but im not sure and may need confirmation before I modify any files.

Here are the error logs.

Example07
Code:
C:\devkitPro\uLib\Examples\Example07>make clean
clean ...Example07

C:\devkitPro\uLib\Examples\Example07>make
main.c
arm-eabi-g++ -g -mthumb-interwork -mno-fpu -L/c/devkitPro/PAlib/lib -lpa9 -specs
=ds_arm9.specs main.o -L/c/devkitPro/libnds/lib -lul -lpa9 -lpng -lz -lfat -lnds
9 -o build.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld
.exe: cannot find -lpa9
collect2: ld returned 1 exit status
make[1]: *** [/c/devkitPro/uLib/Examples/Example07/Example07.elf] Error 1
make: *** [build] Error 2

C:\devkitPro\uLib\Examples\Example07>pause
Press any key to continue . . .
Example09
Code:
C:\devkitPro\uLib\Examples\Example09>make clean
clean ...

C:\devkitPro\uLib\Examples\Example09>make
bear.gif
james.gif
music.mod
main.c
arm-eabi-gcc -MMD -MP -MF /c/devkitPro/uLib/Examples/Example09/build/main.d -g -
Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer-ffast-math -mthum
b-interwork -I/c/devkitPro/uLib/Examples/Example09/include -I/c/devkitPro/uLib/Examples/Example09/build -I/c/devkitPro/libnds/include -I/c/devkitPro/libnds/incl
ude -I/c/devkitPro/uLib/Examples/Example09/build -DARM9 -c /c/devkitPro/uLib/Examples/Example09/source/main.c -o main.o
c:/devkitPro/uLib/Examples/Example09/source/main.c:8:17: warning: pa9.h: No such file or directory
c:/devkitPro/uLib/Examples/Example09/source/main.c: In function 'main':
c:/devkitPro/uLib/Examples/Example09/source/main.c:34: warning: implicit declaration of function 'PA_Init'
c:/devkitPro/uLib/Examples/Example09/source/main.c:35: warning: implicit declaration of function 'PA_InitVBL'
c:/devkitPro/uLib/Examples/Example09/source/main.c:36: warning: implicit declaration of function 'PA_InitSound'
c:/devkitPro/uLib/Examples/Example09/source/main.c:37: warning: implicit declaration of function 'PA_PlayMod'
c:/devkitPro/uLib/Examples/Example09/source/main.c:57: error: 'SUB_BLEND_CR' undeclared (first use in this function)
c:/devkitPro/uLib/Examples/Example09/source/main.c:57: error: (Each undeclared identifier is reported only once
c:/devkitPro/uLib/Examples/Example09/source/main.c:57: error: for each function it appears in.)
c:/devkitPro/uLib/Examples/Example09/source/main.c:58: error: 'SUB_BLEND_Y' undeclared (first use in this function)
c:/devkitPro/uLib/Examples/Example09/source/main.c:59: error: 'BLEND_CR' undeclared (first use in this function)
c:/devkitPro/uLib/Examples/Example09/source/main.c:60: error: 'BLEND_Y' undeclared (first use in this function)
c:/devkitPro/uLib/Examples/Example09/source/main.c:119: warning: implicit declaration of function 'PA_WaitForVBL'
make[1]: *** [main.o] Error 1
make: *** [build] Error 2

C:\devkitPro\uLib\Examples\Example09>pause
Press any key to continue . . .
Best Regards,
Drazalon
Drazalon est d嶰onnect   R廧onse avec citation
Vieux 08/07/2009, 14h13   #3
Monsieur J
Membre confirm
 
Date d'inscription: 19/03/2009
Localisation: Dijon, Paris
Messages: 124
Voir les codes amis Nintendo DS Voir les codes amis Wii
Par d嶨aut

Hello,

You should include the microlib as : #include <ulib/ulib.h>

Furthermore, in order to help you, could you upload your makefile and print your env vars ?

Sorry if i need some time. I can't access internet at any time.

Regards
Monsieur J est d嶰onnect   R廧onse avec citation
R廧onse

Liens sociaux

Tags
ulib compile error help

Publicit



Utilisateurs regardant la discussion actuelle : 1 (0 membre(s) et 1 invit(s))
 
Outils de la discussion
Modes d'affichage

R銶les de messages
Vous ne pouvez pas cr嶪r de nouvelles discussions
Vous ne pouvez pas envoyer des r廧onses
Vous ne pouvez pas envoyer des pi鋃es jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activ嶪s : oui
Les smileys sont activ廥 : oui
La balise [IMG] est activ嶪 : oui
Le code HTML peut 皻re employ : non
Navigation rapide

Discussions similaires
Discussion Auteur Forum R廧onses Dernier message
PSP OSLIB 2.10 Compiler Errors pspmasterpro Aide au d憝eloppement 5 27/01/2009 02h55
無ibrary Aide Est-ce un probl鋗e dans la ulib? ou une autre? sdevilcry 無ibrary 0 08/07/2008 12h37
NDS cherche a compil au format .gba avec la Palib meijin_ryu Aide au d憝eloppement 12 02/09/2006 23h25


Fuseau horaire GMT +2. Il est actuellement 17h39.


丼it par : vBulletin® version 3.7.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd. Tous droits r廥erv廥.
Version fran蓷ise #16 par l'association vBulletin francophone
Design par Ass-Itch, DJP et Dr.Vince