[Issue] Unable To Compile FBI

Discussion in '3DS - Homebrew Development and Emulators' started by ScarletDreamz, Feb 3, 2016.

  1. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    Hello Guys! im unable to compile the source from FBI, i downloaded the project form github, and also downloaded the citrus lib, an d created the route that the project ask for, which is "$(DEVKITPRO)/citrus/tools/make_base".

    However, when i try to compile [Make], i get this output:
    [​IMG]

    any help would be truly appreciated.
    Note: i uploaded the Make_Base file that i downloaded from Steve github.
     

    Attached Files:

    Last edited by ScarletDreamz, Feb 3, 2016
  2. ShinyMK

    ShinyMK known as @initPRAGMA

    Member
    1,507
    532
    Dec 29, 2015
    127.0.0.1
    Why do you want to compile it at all? Just download a pre-compiled version.
     
  3. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    that's the problem, i don't want the compiled version, i already have it and use it, however, i want to be able to do compile this thing, and im kinda stuck, i compiled reinand, rxtools, but im having issues with other sources, such as CTRBootManager,FBI and even Citrus. so again, any help will be appreciated.
     
  4. mashers

    mashers Stubborn ape

    Member
    3,837
    5,155
    Jun 10, 2015
    Kongo Jungle
    The error is quite clear - the zip command cannot be found.
     
  5. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,488
    1,517
    May 9, 2014
    Hervey Bay, Queensland
    You can ignore the zip not found command. If everything is setup properly (besides zip) it builds fine. :) Just doesn't produce a final zip file of everything built.
     
  6. Joom

    Joom  ❤❤❤

    Member
    4,044
    2,744
    Jan 8, 2016
    United States
    It'd probably be wise to do this with Cygwin and not Command Prompt since the makefile uses UNIX paths and whatnot.
     
  7. Shadowtrance

    Shadowtrance GBAtemp Addict

    Member
    2,488
    1,517
    May 9, 2014
    Hervey Bay, Queensland
    Well FBI ain't gonna magically build with just the "make_base" file. You need citrus compiled and in the devkitpro folder first. As well as ctrulib etc...
    And of course your environment path set correctly too.

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

    Works fine without cygwin :) I only use normal cmd all the time.
     
  8. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    let me compile citrus and set the paths, ill report back asap.
     
  9. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    Well, compiled citrus without problem, apart from the makefile not generating the zip, but when trying to compile FBI, i still got the same error :/, paths are correct and still the same error:


    D:\3DS\Sources\FBI>make
    /D/3DS/devkitPro/citrus/tools/make_base:285: warning: overriding commands for target `/'
    /D/3DS/devkitPro/citrus/tools/make_base:253: warning: ignoring old commands for target `/'
    make: Circular / <- / dependency dropped.
    /.zip
    /bin/sh: line 0: cd: HOME not set
    /bin/sh: line 1: zip: command not found
    make: *** [/.zip] Error 127


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

    My guess is that its trying to compile like if it was on linux? or something.. due the directory Home..
     
  10. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,953
    Jun 9, 2007
    Antarctica
    Well, you definitely don't need Cygwin to compile FBI, I did it a couple hours ago just to see if I could get it to compile from a regular command prompt. Try using "make TARGET=3DS" instead of just make. Citrus uses a weird system that assumes you're not building for the 3DS, even though it's a 3DS library.
     
  11. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    Ok tried the command you added, and things changed, now i got this:

    D:\3DS\Sources\FBI>make TARGET=3DS
    /D/3DS/devkitPro/citrus/tools/make_base:285: warning: overriding commands for target `/'
    /D/3DS/devkitPro/citrus/tools/make_base:253: warning: ignoring old commands for target `/'
    /.elf
    fatal: Not a git repository (or any of the parent directories): .git
    arm-none-eabi-g++.exe: fatal error: no input files
    compilation terminated.
    make: *** [/.elf] Error 1

    Before that i got Git command not found, so i downloaded git and installed, just to be sure, im on a proxy computer, so i cant access full internet nor git directly, meaning i cant connect to ANYTHING via CMD, if thats the problem ill try in 1 hour when i get to my house, if thats the problem and thx for the help C:
     
  12. erman1337

    erman1337 GBAtemp Maniac

    Member
    1,211
    931
    Sep 27, 2015
    Belgium
    Brussels
    You should compile using a linux machine, you can install ubuntu on a usb stick or use a VPC software
     
  13. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,953
    Jun 9, 2007
    Antarctica
    I think FBI calls git for versioning info more than to actually make an internet connection. But yeah, I would try doing all of this on the computer directly instead of over a network, just to be safe. Something in your build environment is off/funky, but I'm not sure what at the moment.

    That is not needed for compiling FBI and the vast majority of 3DS homebrew. Linux might make it easier, but it's not required by any means.

    Edit: I'm sorry, that sounded a bit harsh, I didn't mean to.
     
    Last edited by daxtsu, Feb 3, 2016
  14. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    Thanks ill try as soon as i get to my home, and yes, linux is not needed, there are several ways to avoid installing Ubuntu, and i actually got MINT on my personal laptop, but atm im not, however, i can use Cygwin or MinGW for that.
     
  15. Amaredeus

    Amaredeus Newbie

    Newcomer
    7
    1
    Jun 6, 2017
    United States
    Did you ever found out what the problem was?
     
  16. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,659
    1,152
    Feb 16, 2015
    United States
    California
    Yes, i was able to compile FBI later on without issues.