绝望的希望
2010-05-01 18:25:31
按掌叔的[color=Red]一步一步搭建nds开发平台[/color]帖子弄下来后,在[color=Red]编译一个例子[/color]中第5,6步有问题
第5步output窗口内容
main.c
In file included from E:/devkitPro/PAlib//include/nds/PA9.h:24,
from e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_CheckLid':
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h:302: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h:308: warning: 'getIPC' is static but used in inline function 'PA_CheckLid' which is not static
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetScreenLight':
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h:388: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h:389: warning: 'getIPC' is static but used in inline function 'PA_SetScreenLight' which is not static
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h: In function 'PA_SetLedBlink':
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h:405: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
E:/devkitPro/PAlib//include/nds/arm9/PA_General.h:406: warning: 'getIPC' is static but used in inline function 'PA_SetLedBlink' which is not static
In file included from E:/devkitPro/PAlib//include/nds/PA9.h:73,
from e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
E:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8pixels':
E:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:91: warning: 'PA_Plot8Pixels' is static but used in inline function 'PA_16c8pixels' which is not static
E:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16c8X8Letter':
E:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:105: warning: 'PA_16c8X8Color' is static but used in inline function 'PA_16c8X8Letter' which is not static
In file included from E:/devkitPro/PAlib//include/nds/PA9.h:73,
from e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:3:
E:/devkitPro/PAlib//include/nds/arm9/PA_16c.h: In function 'PA_16cLetter':
E:/devkitPro/PAlib//include/nds/arm9/PA_16c.h:507: warning: 'PA_16c16X16Letter' is static but used in inline function 'PA_16cLetter' which is not static
e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c: In function 'main':
e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:18: error: 'quot' undeclared (first use in this function)
e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:18: error: (Each undeclared identifier is reported only once
e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:18: error: for each function it appears in.)
e:/devkitPro/PAlibExamples/Text/Normal/HelloWorld/source/main.c:18: error: expected ')' before ';' token
make[1]: *** [main.o] Error 1
"make": *** [build] Error 2
第6步没有.nds和其他文件,build文件夹中有main.d,大小4806B
不知道那里有问题
hewenxie
2010-05-01 20:17:58
看看你安装的devkitpro的版本, 还有PALib的版本。
注意搭配问题 PALib现在兼容好点的搭配是devR21+PA080823
绝望的希望
2010-05-01 22:51:31
PAlib是070717,devkitPro我貌似是devkitProUpdater-1.5.0把,忘了
另外想问下,在WIN 7系统中能用吗,还是只能在XP里? 安装devR21还要设置环境变量吗?Nb的教程里要设置环境变量但掌叔这里没写
幻の上帝
2010-05-14 20:27:51
Win7里面也是可以用的。只要PALib和devkitPro的版本对的上,能够兼容。
环境变量什么的- -我都是编译出错以后找makefile然后看里面引用了哪些...自己写。。。
PALib这种麻烦的东西还是扔了吧,libnds是王道。