1. Generation 16

    Generation 16 GBAtemp Regular
    Member

    Joined:
    May 4, 2011
    Messages:
    137
    Country:
    United States
    Hi, I hate to bump (is it even a bump?) this, but I was wondering, how exactly would I go about installing M3 ninetails? I tried just putting everything on the root of the card, (M3 Real) but that didn't work. It said "no find system files" or something like that.
    Also, when I do get it to work, is there any way to update it? I want to update sakura to 1.49 and YSMenu to 6.61.
     
  2. chyyran

    chyyran somehow a weeb now.
    Developer

    Joined:
    Dec 10, 2009
    Messages:
    2,844
    Country:
    Canada
    I don't think that's Taiju Yamada that posted that.


    EDIT: Damn, I just bumped a month-old thread didn't I..
     
  3. jurassicplayer

    OP jurassicplayer Completionist Themer
    Member

    Joined:
    Mar 7, 2009
    Messages:
    4,443
    Country:
    United States
    What you think versus what I know, I think I will place bets on myself.
     
  4. Wawslininig

    Wawslininig Newbie
    Newcomer

    Joined:
    Dec 15, 2011
    Messages:
    5
    Country:
    United States
    Haha that's rediculous. No way
     
  5. keemyb

    keemyb Newbie
    Newcomer

    Joined:
    Mar 3, 2012
    Messages:
    5
    Country:
    Hello,
    Can anyone help me with trying to compile some files in the mshl2tools folder, specifically mshl2wrap?
    I have set up devkitpro and ARM, but when I make (from the mshlwrap source folder) I get:
    Code:
    Compiling...
    In file included from main.c:1:0:
    ../../libprism/libprism.h:51:17: fatal error: nds.h: No such file or directory
    compilation terminated.
    make: *** [nds.mshl2wrap.arm9] Error 1
    
    I'm not sure where this nds.h file is supposed to go, but searching my system I know that it is currently here: /opt/devkitpro/libdns/include

    EDIT: I am running ubuntu 11.10 x64
     
  6. avenir

    avenir GBAtemp Fan
    Member

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
    I think:

    export DEVKITPRO=/opt/devkitpro
    export DEVKITARM=$DEVKITPRO/devkitARM

    but your environment should be OK.

    Well, /opt/devkitpro/libnds/include/nds.h is correct.

    Anyway, there are 2 prerequisites to build mshl2wrap.
    one is arm7 and the other is libprism.
    to build libprism, firstly you need to compile libfat dir then copy nds/lib/libfat.a to /opt/devkitpro/libnds/lib/ (overwriting).
    Then, echo "#define LIBFAT 1" >libprism/fatdriver.h
    Perhaps providing libfat build log should help us.
     
  7. keemyb

    keemyb Newbie
    Newcomer

    Joined:
    Mar 3, 2012
    Messages:
    5
    Country:
    Heres what I get when I make libfat
    Code:
    [email protected]:~/lactlib/mshl2tools_r37_libfat/libfat/nds$ make
    cache.c
    arm-eabi-gcc -MMD -MP -MF /home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/release/cache.d -Wall -O2 -march=armv5te -mtune=arm946e-s
    -fomit-frame-pointer -ffast-math -fdata-sections -mthumb -mthumb-interwork -I/home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/../include
    -I/opt/devkitpro/libnds/include -I/opt/devkitpro/libnds/include -I/home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/release -DARM9 -DNDS -c
    /home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/../source/cache.c -o cache.o
    In file included from /home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/../source/common.h:32:0,
    from /home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/../source/cache.c:39:
    /home/akeem/lactlib/mshl2tools_r37_libfat/libfat/nds/../include/fat.h:52:29: fatal error: nds/disc_io.h: No such file or directory
    compilation terminated.
    make[1]: *** [cache.o] Error 1
    make: *** [release] Error 2
    [email protected]:~/lactlib/mshl2tools_r37_libfat/libfat/nds$
    
     
  8. avenir

    avenir GBAtemp Fan
    Member

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
    I see -I/opt/devkitpro/libnds/include is correct. can you tell me what is inside this directory?
     
  9. keemyb

    keemyb Newbie
    Newcomer

    Joined:
    Mar 3, 2012
    Messages:
    5
    Country:
    Here you go
    .
    ├── dswifi7.h
    ├── dswifi9.h
    ├── dswifi_version.h
    ├── fat.h
    ├── filesystem.h
    ├── gbfs.h
    ├── maxmod7.h
    ├── maxmod9.h
    ├── mm_types.h
    ├── nds
    │ ├── arm7
    │ │ ├── audio.h
    │ │ ├── clock.h
    │ │ ├── i2c.h
    │ │ ├── input.h
    │ │ ├── sdmmc.h
    │ │ ├── serial.h
    │ │ └── touch.h
    │ ├── arm9
    │ │ ├── background.h
    │ │ ├── boxtest.h
    │ │ ├── cache.h
    │ │ ├── console.h
    │ │ ├── decompress.h
    │ │ ├── dldi.h
    │ │ ├── dynamicArray.h
    │ │ ├── exceptions.h
    │ │ ├── guitarGrip.h
    │ │ ├── image.h
    │ │ ├── input.h
    │ │ ├── keyboard.h
    │ │ ├── linkedlist.h
    │ │ ├── math.h
    │ │ ├── ndsmotion.h
    │ │ ├── paddle.h
    │ │ ├── pcx.h
    │ │ ├── piano.h
    │ │ ├── postest.h
    │ │ ├── rumble.h
    │ │ ├── sassert.h
    │ │ ├── sound.h
    │ │ ├── sprite.h
    │ │ ├── trig_lut.h
    │ │ ├── videoGL.h
    │ │ └── video.h
    │ ├── bios.h
    │ ├── card.h
    │ ├── debug.h
    │ ├── disc_io.h
    │ ├── dma.h
    │ ├── fifocommon.h
    │ ├── fifomessages.h
    │ ├── input.h
    │ ├── interrupts.h
    │ ├── ipc.h
    │ ├── jtypes.h
    │ ├── libversion.h
    │ ├── memory.h
    │ ├── ndstypes.h
    │ ├── registers_alt.h
    │ ├── system.h
    │ ├── timers.h
    │ └── touch.h
    ├── nds.h
    ├── netdb.h
    ├── netinet
    │ └── in.h
    ├── sgIP_errno.h
    ├── sys
    │ └── socket.h
    └── tree.txt
    5 directories, 66 files
     
  10. avenir

    avenir GBAtemp Fan
    Member

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
    well, do you really have /opt/devkitpro/libnds/include/, not /opt/devkitPro/libnds/include/?
     
  11. keemyb

    keemyb Newbie
    Newcomer

    Joined:
    Mar 3, 2012
    Messages:
    5
    Country:
    its in lowercase, yeah

    EDIT: I have built libfat now, I was silly and created a folder named libdns instead of nds.

    When I compile libprism though, it tells me that I have to choose either lib fat or elm, and looking at libprism.h I dont know what to comment in or out
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Utilizing, XenonNDS, Tools