gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Compiling SNEmulDS ?

#170948 - Ben_j - Tue Oct 27, 2009 3:55 pm

I downloaded the sources of SNEmulDS, there's a Makefile and all, but I can't manage to compile it. Did someone here succesfuly compiled it before ?

#170992 - Normmatt - Wed Oct 28, 2009 8:12 am

Compiles fine with devkitarm r20 and old libfat and libnds versions.

#171005 - Ben_j - Wed Oct 28, 2009 11:13 am

What version of libnds and libfat do you have ?

EDIT : where can I find old releases ? The oldest version I can find is r24 on Sourceforge

EDIT bis : found.

I tried compiling with devkitARM r20, libnds 20071023, libfat 1.0.4. Much better, but still not compiling :

Code:
D:\NDS_Dev\SNEmulDSv04-src\SNEmulDS>make
make -C src
make[1]: Entering directory `/d/NDS_Dev/SNEmulDSv04-src/SNEmulDS/src'
make -C arm7
make[2]: Entering directory `/d/NDS_Dev/SNEmulDSv04-src/SNEmulDS/src/arm7'
[color=red]make[3]: *** No rule to make target `apu.o', needed by `../bin/pocketspc.elf'.[/color]
Stop.
make[2]: *** [bin] Error 2
make[2]: Leaving directory `/d/NDS_Dev/SNEmulDSv04-src/SNEmulDS/src/arm7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/d/NDS_Dev/SNEmulDSv04-src/SNEmulDS/src'
make: *** [all] Error 2

#171010 - wintermute - Wed Oct 28, 2009 2:48 pm

Update the code, don't downgrade your tools. The oldest devkitARM currently supported is r24, in a few weeks that will be r25.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#171017 - Ben_j - Wed Oct 28, 2009 5:50 pm

yes but I can't update the code of such a big project.

#171185 - josath - Wed Nov 04, 2009 10:33 pm

Ben_j wrote:
yes but I can't update the code of such a big project.


If you don't know how to update the code (which is really not all that hard), then why do you even want to compile it? Any changes you'd want to make to the code are going to take more skillz than a simple task of updating to match the latest version of libnds / dkA