【问题标题】:NDS Homebrew : can't compile in Visual Express 2008NDS Homebrew:无法在 Visual Express 2008 中编译
【发布时间】:2011-08-11 19:25:40
【问题描述】:

我正在尝试进入 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 中缺少某些内容或错误,但无法准确确定是什么以及如何修复它。

【问题讨论】:

    标签: homebrew devkitpro palib


    【解决方案1】:

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

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

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

    【讨论】:

    • 对于那些不知道的人,@WintrMute 是 devkirPro 的创建者和维护者。
    【解决方案2】:

    很明显,PAlib 中缺少某些内容或错误。 devkitARM 对我来说非常好用。 PAlib 很老,而且写得很糟糕。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多