Can't Compile CTRCommon for FBI

Discussion in '3DS - Flashcards & Custom Firmwares' started by dpad_5678, Jul 12, 2017.

  1. dpad_5678
    OP

    dpad_5678 GBAtemp's Memelord

    Member
    1,737
    1,284
    Nov 19, 2015
    United States
    I'm trying to compile @suloku 's fork of CTRCommon so I can compile FBI, however I get the following errors:

    Warning: Spoilers inside!

    I have the most up-to-date CTRULIB and aemstro.
     
  2. fr3quency

    fr3quency GBAtemp Advanced Fan

    Member
    797
    348
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    You don't need CTRcommon or aemstro in order to compile FBI. What you need is what I write here(except Python) https://gbatemp.net/threads/tutorial-how-to-sync-compile-aureinand.420787/ PLUS citro3d(the "next" branch) https://github.com/fincs/citro3d/tree/next (you can compile it with the following command "git clone -b next --single-branch https://github.com/fincs/citro3d.git"

    If you need the binaries for the .ZIP(you might get an error during compilation about zip missing which is NOT crucial at all), those can be found here http://www.willus.com/archive/zip64 (put them in \devkitPro\devkitARM\bin)

    An environment for most of the basic 3DS stuff would consist of: GIT, Python 3.x, devkitPRO, MinGW, ctrulib, citro3d, citrus, armips, bannertool and makerom(to compile the latest version you need MinGW-w64).

    With the above stuff I can compile Luma3DS, FBI, GodMode9, boot9strap, arm9loaderhax, SafeA9Installer, SafeB9Installer, firmtool, TWSaveTool, CTRXplorer and makerom(IF you have MinGW-w64)


    Edit: I compiled the latest FBI version, in case you need it in order to do something, that contains everything(.3dsx, .cia, servefiles etc): https://www.sendspace.com/file/1v5pjj

    Hope you get it compiled! It's addicting. xD
     
    Last edited by fr3quency, Jul 12, 2017
    CaptainSwag101 likes this.
  3. dpad_5678
    OP

    dpad_5678 GBAtemp's Memelord

    Member
    1,737
    1,284
    Nov 19, 2015
    United States
    Thanks for the help! When I try to compile FBI I get the following error:

    It seems to be looking for a CTRCommon folderin my devkitPro directory, but I'm not able to compile CTRCommon. I followed your guide. The FBI GitHub page also mentions CTRCommon is required for FBI to compile.
     
  4. dpad_5678
    OP

    dpad_5678 GBAtemp's Memelord

    Member
    1,737
    1,284
    Nov 19, 2015
    United States
    I was able to compile Citro3D, by the way.
     
  5. fr3quency

    fr3quency GBAtemp Advanced Fan

    Member
    797
    348
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    I'm compiling for 1+ year now. Trust me on what I say. :P If you follow my guide to the letter and add citro3d and citrus(the compiled versions, only the "include"and "lib" folders) into \devkitPro\libctru\ you will be good to go.

    Also,the FBI page mentions "Requires devkitARM and citro3d to build. When building against the latest ctrulib source, make sure to use the "next" branch of citro3d." There is no mention of CTRcommon, I don't know where you saw it.
     
  6. dpad_5678
    OP

    dpad_5678 GBAtemp's Memelord

    Member
    1,737
    1,284
    Nov 19, 2015
    United States
    After copying over those binaries I was able to compile the latest version of FBI :yay3ds:
    Now I realize it was the older versions of FBI that required CTRCommon. I'm trying to compile an older version because, afaik, the ability to install CIA's to that NAND and not the SD card has been removed.
     
  7. fr3quency

    fr3quency GBAtemp Advanced Fan

    Member
    797
    348
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    That my friend I don't know. :P Why would you want to though? FBI knows where to install what you try to install, so if you're trying to install a DSi for example I believe it will be installed in NAND.
     
    Last edited by fr3quency, Jul 13, 2017
  8. dpad_5678
    OP

    dpad_5678 GBAtemp's Memelord

    Member
    1,737
    1,284
    Nov 19, 2015
    United States
    I'm trying to install a few dev apps to NAND for shits and giggles, lol. Anyways, thanks for your help! I was able to compile everything you mentioned as well, so now I can finally modify GodMode9 the way I wanted to! :grog::yay3ds:
     
  9. fr3quency

    fr3quency GBAtemp Advanced Fan

    Member
    797
    348
    Jan 11, 2016
    Greece
    Wherever my imagination decides.
    Nice! On that ISO site there are some dev apps that are installed to NAND even if you use FBI(I had tried on o3DS and after the format DevMenu persisted). I believe it was in one of Apache Thunder's threads(the thread's title also specifies it), so you might want to give it a go.
     
    dpad_5678 likes this.