devkitpro and PALib
Posted: 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.
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)