NDS Homebrew:无法在Visual Express 2008中编译

时间:2011-08-11 19:25:41

标签: homebrew devkitpro palib

我正试图进入NDS Homebrew, 并安装了devkitPro和PALib,并将其与Visual Express 2008相关联。

但是当我尝试编译启动新NDS项目时自动生成的Hello World示例代码时,出现以下错误:

1>------ Build started: Project: newtest, Configuration: Release Win32 ------
1>Performing Makefile project actions
1>Linking...
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x1c0): undefined reference to `__libnds_mpu_setup'
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x210): undefined reference to `initSystem'
1>c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
1>(.init+0x21c): undefined reference to `__libnds_exit'
1>collect2: ld returned 1 exit status
1>make[1]: *** [/c/DSProjects/newtest/newtest/Release/newtest.elf] Error 1
1>make: *** [build] Error 2
1>Build log was saved at "file://c:\DSProjects\newtest\newtest\Release\BuildLog.htm"
1>newtest - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

所以很明显devkitPro中缺少或者错误,但是无法弄清楚究竟是什么以及如何修复它。

2 个答案:

答案 0 :(得分:3)

不支持PAlib,你通过安装它破坏了devkitARM。

我们唯一的建议是完全卸载devkitARM,然后在没有PAlib的情况下重新安装。完成后,您应该在devkitPro forumsgbadev forums上提问,或者,如果您更喜欢实时答案,那么总是IRC channels

不惜一切代价避免使用PAlib,PAlib用户和PAlib教程。

答案 1 :(得分:1)

显然PAlib缺少或错误。 devkitARM对我来说非常好。 PAlib很老,写得很差。