How to compile .3dsx code?

Discussion in '3DS - Homebrew Development and Emulators' started by jamieyello, Nov 24, 2014.

  1. jamieyello
    OP

    jamieyello Professional Dumbass

    Member
    376
    255
    Mar 11, 2013
    United States
    Someone please help me as I'm to dumb and noobish to figure this out.

    I followed the instructions in this
    https://gbatemp.net/threads/homebrew-development.360646/#post-4887740

    And in this
    http://3dbrew.org/wiki/Setting_up_Development_Environment

    I added the paths to the $PATH (or so I think) in environmental variables under advanced system settings, so now I have the gpu example code from ctrulib_master\examples opened in notepad++, so what next? How do I build this into a .3dsx file to run on ninjhax? If I can figure that out I should be good.
     
  2. rdurbin

    rdurbin GBAtemp Fan

    Member
    473
    41
    Sep 13, 2006
    United States
    US
    well what I did is just used a command window. Navigated to the directory for the item you want to compile than typed make clean and than typed make. This created a .3dsx file as well as elf and others.

    if you wish to make your own program, make a copy of the templete folder, name it whatever you want
     
    jamieyello likes this.
  3. Lowren

    Lowren Newbie

    Newcomer
    2
    1
    Nov 23, 2014
    France
    You have to right click + shift on the folder containing your project, then open the CLI and type "make". Then you'll get both .3dsx and .smdh files needed for the project to run on ninjhax.

    I don't know for Linux though
     
    jamieyello likes this.
  4. jamieyello
    OP

    jamieyello Professional Dumbass

    Member
    376
    255
    Mar 11, 2013
    United States
    Figured it out (surprisingly), thanks! :D
     
  5. Plstic

    Plstic Guru Meditation Error

    Member
    660
    280
    Apr 21, 2010
    United States
    Milwaukee WI
    I can figure all this out but I keeps on giving me errors for python and I have python installed. Maybe I should just go back to linux lol.
     
  6. jamieyello
    OP

    jamieyello Professional Dumbass

    Member
    376
    255
    Mar 11, 2013
    United States
    I found if your folder directory has any space bars in it the command won't work. I had it in a folder called "don't delete" and it only worked when I moved it to a folder on my c: drive.
     
  7. Plstic

    Plstic Guru Meditation Error

    Member
    660
    280
    Apr 21, 2010
    United States
    Milwaukee WI
    Oh ok, I was trying to compile stuff on my B:/ drive lol.
     
  8. Xabring

    Xabring GBAtemp Fan

    Member
    332
    136
    Nov 21, 2013
    Mexico
    Somewhere, Earth.
    All I do is type make and All I get is this horror....
    do i need something else?
     

    Attached Files: