NDS Homebrew:无法在 Visual Express 2008 中编译
我正在尝试进入 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 中出现错误,但无法弄清楚到底是什么以及如何修复它。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
PAlib 不受支持,安装它会破坏 devkitARM。
我们唯一的建议是完全卸载 devkitARM,然后在没有 PAlib 的情况下重新安装。完成后,您应该在 devkitPro 论坛、gbadev 论坛,或者,如果您喜欢实时答案,那么总有 IRC渠道
不惜一切代价避免使用 PAlib、PAlib 用户和 PAlib 教程。
PAlib is not supported, you broke devkitARM by installing it.
The only advice we have is to uninstall devkitARM completely then reinstall without PAlib. Once you've done that you should ask questions on the devkitPro forums, the gbadev forums, or, if you prefer realtime answers then there's always the IRC channels
Avoid PAlib, PAlib users and PAlib tutorials at all costs.
显然 PAlib 缺少某些内容或有问题。 devkitARM 对我来说工作得很好。 PAlib 很旧而且写得很差。
Obviously something is missing or wrong from PAlib. devkitARM works perfectly fine for me. PAlib is old and very poorly written.