[Request] Noob guide on how to compile

Discussion in '3DS - Homebrew Development and Emulators' started by Chuckz, Jan 8, 2016.

  1. Chuckz
    OP

    Chuckz GBAtemp Regular

    Member
    177
    5
    Mar 26, 2015
    United States
    Hello Developers,

    Is it very difficult to compile for the many Homebrew Apps developed on Github to .cia .3ds. .3dsx? I am curious on learning how to compile code for my nods as well as possibly help others out by posting them on the forums to download.

    I am an owner of a Mac on OSx 10
    I would like to learn how to compile code so I may have the latest versions of the many Homebrew Apps that exist that don't have releases but have had recent commits added to them.

    Would someone be able to point me in the right direction? I have really no knowledge on how to compile so a noob guide would be nice.
     
    Last edited by Chuckz, Jan 8, 2016
  2. GoodCookie88

    GoodCookie88 rekt em skrubs

    Member
    931
    317
    Oct 1, 2015
    United States
    bump
     
  3. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    You need to have devkitarm and any dependencies need for the program you are trying to compile. Most homebrew require ctrulib, so that's a must have.
    To compile homebrew menu you just need to follow the instruction on the repo.
     
    GoodCookie88 and Chuckz like this.
  4. ashinnblunts

    ashinnblunts GBAtemp Regular

    Member
    117
    121
    Jun 25, 2012
    United States
    Chuckz likes this.
  5. Chuckz
    OP

    Chuckz GBAtemp Regular

    Member
    177
    5
    Mar 26, 2015
    United States
    I have completed all this,
    Do support libraries exist for 3ds or n3ds or do I just continue with the Nintendo DS libraries?

    — Posts automatically merged - Please don't double post! —

    I downloaded the automated perl installer as well but don't see any mention to it in the Getting Started Wiki on how to install this.
     
  6. JerwuQu

    JerwuQu Advanced Member

    Newcomer
    56
    66
    Feb 15, 2015
    There are 3ds libraries and you should use those.
     
  7. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    I going to give you some instructions based on my install in linux, which should be the about the same.
    Make sure you have git and curl installed
    Run the following commands in the terminal
    Code:
    curl -L http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitARMupdate.pl/download -o devkitARMupdate.pl
    chmod +x ./devkitARMupdate.pl
    
    Then to actually install devkitarm you run the following command
    Code:
    ./devkitARMupdate.pl ~/devkitpro
    
    That will install devkitpro into your home folder.

    Then you need to add the following lines to your .bash-profile
    Code:
    export DEVKITPRO=$HOME/devkitpro
    export DEVKITARM=$DEVKITPRO/devkitARM
    export PATH=$PATH:$DEVKITARM/bin
    
    Again I don't own a mac, but I know this works on linux.

    Edit:
    After that you will need to get the latest ctrulib. Make sure to restart your terminal to apply the changes made on .bash-profile
    Code:
    git clone https://github.com/smealum/ctrulib.git
    cd ctrulib/libctru
    make
    make install
    
     
    Last edited by MasterFeizz, Jan 8, 2016
    Syphurith likes this.
  8. Chuckz
    OP

    Chuckz GBAtemp Regular

    Member
    177
    5
    Mar 26, 2015
    United States
    Would you happen to know where I can download ads libraries? Also do nods libraries exist? or does it not matter?

    Where can I download git and curl? and how do I go about installing them?

    Keep in mind I'm very new to all this. So I appreciate the help, guidance and patience!
     
  9. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    I will help as much as I can, but I don't own or use a mac. You are going to have to google that yourself, it's not hard.