devkitpro and PALib

Post Reply
mendicant
Posts: 2
Joined: Thu Jun 04, 2009 7:09 pm

devkitpro and PALib

Post by mendicant » Thu Jun 04, 2009 7:24 pm

Greetings devkitpro community!

I was wondering if someone could help me.

I've been using DevKitPro and PALib together for a while now, and yesterday decided to upgrade to the latest edition of DKP. However, now that I've upgraded I'm getting lists of errors whenever I attempt to build the project. I've tried re-installing DKP and PALib (multiple versions), but nothing seems to fix the problem.

If anyone can help I'd be really appreciative, no one on the PALib forums seems to be able to pin down why this is happening.

I've put in the last part of the error report, in the hope it'll help. The rest of the error report contains similar errors to these, but if needed I can put up the full report. The built project was an empty PALib application .cpp file.

Code: Select all

C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'void PA_PowerOff()':
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(47): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(47): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(47): error: 'volatile struct sTransferRegion' has no member named 'aux'
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:/Users/Administrator/Documents/VS/Projects/hih/hih/source/main.cpp(4):
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'u8 PA_CheckLid()':
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(308): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(308): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(314): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(314): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'void PA_SetScreenLight(u8, u8)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(385): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(385): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(385): error: 'volatile struct sTransferRegion' has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(386): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(386): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(386): error: 'volatile struct sTransferRegion' has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h: In function 'void PA_SetLedBlink(u8, u8)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(402): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(402): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(402): error: 'volatile struct sTransferRegion' has no member named 'aux'
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(403): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(403): warning: 'volatile TransferRegion* getIPC()' is deprecated (declared at c:/devkitPro/libnds/include/nds/ipc.h:64)
C:/devkitPro/palib/lib/include/nds/arm9/PA_General.h(403): error: 'volatile struct sTransferRegion' has no member named 'aux'
In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:41,
                 from c:/Users/Administrator/Documents/VS/Projects/hih/hih/source/main.cpp(4):
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h: In function 'void PA_LoadFSImage(u8, s16)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h(640): warning: deprecated conversion from string constant to 'char*'
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h(643): warning: deprecated conversion from string constant to 'char*'
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h(646): warning: deprecated conversion from string constant to 'char*'
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h: In function 'void PA_LoadGBFSImageToBuffer(void*, s16, s16)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h(668): warning: deprecated conversion from string constant to 'char*'
C:/devkitPro/palib/lib/include/nds/arm9/PA_Draw.h(674): warning: deprecated conversion from string constant to 'char*'
In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:58,
                 from c:/Users/Administrator/Documents/VS/Projects/hih/hih/source/main.cpp(4):
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: At global scope:
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(45): error: 'Keyboards Keyboard' redeclared as different kind of symbol
c:/devkitPro/libnds/include/nds/arm9/keyboard.h(112): error: previous declaration of 'typedef struct Keyboard Keyboard'
In file included from C:/devkitPro/palib/lib/include/nds/PA9.h:58,
                 from c:/Users/Administrator/Documents/VS/Projects/hih/hih/source/main.cpp(4):
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: In function 'void PA_ScrollKeyboardX(s16)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(110): error: expected primary-expression before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(111): error: expected unqualified-id before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: In function 'void PA_ScrollKeyboardY(s16)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(125): error: expected primary-expression before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(126): error: expected unqualified-id before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: In function 'void PA_ScrollKeyboardXY(s16, s16)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(143): error: expected primary-expression before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(144): error: expected unqualified-id before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(145): error: expected unqualified-id before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: In function 'void PA_KeyboardOut()':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(189): error: expected primary-expression before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(189): error: expected primary-expression before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(190): error: expected primary-expression before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h: In function 'void PA_SetKeyboardColor(u8, u8)':
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(221): error: expected unqualified-id before '.' token
C:/devkitPro/palib/lib/include/nds/arm9/PA_Keyboard.h(222): error: expected unqualified-id before '.' token
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
 Results      Build log was saved at "file://c:\Users\Administrator\Documents\VS\Projects\hih\hih\Release\BuildLog.htm"
hih - 19 error(s), 67 warning(s)

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: devkitpro and PALib

Post by vuurrobin » Thu Jun 04, 2009 8:53 pm

PAlib has a lot of issues with staying up to date with libnds, resulting in PAlib not working correctly when libnds updates. you can either move to a previous version of devkitARM* (NOT recommanded, everything but the last version contains bugs and isn't supported) and hope somebody updates PAlib soon (although that can take awhile) or just ditch PAlib and use libnds (its getting easier and easier to work with, maybe even to the point where its just as easy as PAlib).

also read this:
http://wiki.devkitpro.org/index.php/PAlib

or you could wait untill a certain person releases his library :roll: . but that may take a while seeing as I'm very busy with school and even when it will come out it will lack a lot of stuff at first.


* @ wintermute
I know, I know, I shouldn't tell people to downgrade devkitPro. but they will hear it anyway. better tell them the correct story here than that they hear a wrong story elsewhere. and don't delete my post because I posted something you dont like, like you did last time.

mendicant
Posts: 2
Joined: Thu Jun 04, 2009 7:09 pm

Re: devkitpro and PALib

Post by mendicant » Fri Jun 05, 2009 12:23 pm

Thanks for the honest reply, it's really appreciated. I think I may take up your suggestion about using the libnds package. Since PALib was built over it i'm sure it can't be all that hard (famous last words). At least it compiles correctly :) .

Cheers.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest