Homebrew [Issue] Unable To Compile FBI

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
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:
Screenshot_1.png


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

Attachments

  • make_base.txt
    8.6 KB · Views: 283
Last edited by ScarletDreamz,

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
Why do you want to compile it at all? Just download a pre-compiled version.
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.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
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:
Screenshot_1.png


any help would be truly appreciated.
Note: i uploaded the Make_Base file that i downloaded from Steve github.
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.

--------------------- MERGED ---------------------------

It'd probably be wise to do this with Cygwin and not Command Prompt since the makefile uses UNIX paths and whatnot.
Works fine without cygwin :) I only use normal cmd all the time.
 

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
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


--------------------- MERGED ---------------------------

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

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
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.
 

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
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.

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:
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
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.

You should compile using a linux machine, you can install ubuntu on a usb stick or use a VPC software

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,

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
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.

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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: