Homebrew [Help]Falied to compile FBI with devkitpro 3.0.3

Spmario233

Member
OP
Newcomer
Joined
Aug 13, 2017
Messages
19
Trophies
0
Age
38
XP
135
Country
China
I'm compiling it because I've made a translation for it.
After uninstalled my old devkitpro and installed the latest devkitpro(3.0.3) with 3ds-jansson and 3ds-zlib, it shows that:

Code:
Building for 3DS...
build/3ds-arm/source/core/default.shbin.c
make: picasso: Command not found
make: *** [buildtools/make_base:553: build/3ds-arm/source/core/default.shbin.c] Error 127

Then, I copied everything from C:\devkitPro\tools\bin\ to C:\devkitPro\msys2\usr\bin , It shows that:

Code:
Building for 3DS...
build/3ds-arm/source/core/default.shbin.c
/bin/sh: xxd: command not found
make: *** [buildtools/make_base:553: build/3ds-arm/source/core/default.shbin.c] Error 127

Then, I copied C:\devkitPro\msys2\usr\share\bash-completion\completions\xxd to C:\devkitPro\msys2\usr\bin, too. But this time, it shows that:

Code:
Building for 3DS...
build/3ds-arm/source/core/default.shbin.c
build/3ds-arm/source/core/default.shbin.o
arm-none-eabi-gcc.exe: error: build/3ds-arm/source/core/default.shbin.c: No such file or directory
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
make: *** [buildtools/make_base:536: build/3ds-arm/source/core/default.shbin.o] Error 1

I don't know how to do next, can anyone help me?
 
Last edited by Spmario233,

Shadow#1

Wii, 3DS Softmod & Dumpster Diving Expert
Member
Joined
Nov 21, 2005
Messages
12,354
Trophies
2
XP
8,017
Country
United States
I'm compiling it because I've made a translation for it.
After uninstalled my old devkitpro and installed the latest devkitpro(3.0.3) with 3ds-jansson and 3ds-zlib, it shows that:

Code:
Building for 3DS...
build/3ds-arm/source/core/default.shbin.c
make: picasso: Command not found
make: *** [buildtools/make_base:553: build/3ds-arm/source/core/default.shbin.c] Error 127

Then, I copied everything from C:\devkitPro\tools\bin\ to C:\devkitPro\msys2\usr\bin , It shows that:

Code:
Building for 3DS...
build/3ds-arm/source/core/default.shbin.c
/bin/sh: xxd: command not found
make: *** [buildtools/make_base:553: build/3ds-arm/source/core/default.shbin.c] Error 127

Then, I copied C:\devkitPro\msys2\usr\share\bash-completion\completions\xxd to C:\devkitPro\msys2\usr\bin, too. But this time, it shows that:

Code:
Building for 3DS...
build/3ds-arm/source/core/default.shbin.c
build/3ds-arm/source/core/default.shbin.o
arm-none-eabi-gcc.exe: error: build/3ds-arm/source/core/default.shbin.c: No such file or directory
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.
make: *** [buildtools/make_base:536: build/3ds-arm/source/core/default.shbin.o] Error 1

I don't know how to do next, can anyone help me?
3rd hilight your missing son DLLs go to that folder run the exe and it will tell u What's missing
 

Joel16

Ils ne passeront pas
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,294
Country
United States
He ^ doesn't know what he's talking about
You're really gonna tell me I don't know what I'm talking about when I'm an active contributor to the 3DS scene and tools like libctru?

I've tried it, but it doesn't tell me anything...
It seems like picasso was not properly installed in your path. I'd advise you to just install the predefined group for 3DS via pacman. (I don't know how it works on windows)
The command is sudo pacman -S 3ds-dev

That should install all the necessary tools for 3DS development. Do note you'll need makerom and bannertool installed as well. These two can't be installed via pacman so you'll have to check them out from git and compile and install them, or use their latest release.
 

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,794
Trophies
2
Age
48
Location
Japan
XP
3,699
Country
United States
Ok, this isn't his fault. Something isn't quite right with the path using the latest installer (and I've been using Ubuntu in a VM for compiling stuff, to keep me from having these silly problems)...

Use these steps to compile. You shouldn't have any issues with any 3ds stuff after doing this, unless there are other dependencies you need to install (those will usually be mentioned in the readme).

1) Delete all directories of old devkitPro, msys, etc
2) Delete all references to devkitPro, msys, etc. from system variables and Path
3) Download and run latest Windows installer from https://github.com/devkitPro/installer/releases
4) Click: Start -> devkitPro -> MSYS2
5) From within msys, execute: "pacman -Syu" to ensure everything is up to date. A LOT is updated, even from this fresh install.
6) Execute "pacman -S 3ds-jansson 3ds-zlib git python"

<Using explorer/Notepad++>

7) Edit line 24 in devkitPro/msys2/etc/profile to read: MSYS2_PATH="/usr/local/bin:/usr/bin:/bin:/c/devkitPro/tools/bin"
***close and re-open msys2 for this change to take effect***
8) Grab bannertool from https://github.com/Steveice10/bannertool/releases and makerom from the .zip attachment in: https://gbatemp.net/threads/can-someone-compile-for-me-the-latest-makerom.457256/ and place them in c:/devkitPro/msys2/opt/bin

<back in msys2>

9) Execute "mkdir projects" then "cd projects" to enter that directory. (I like to keep things organized)
10) Execute "git clone --recursive https://github.com/Steveice10/FBI"
11) Execute "cd FBI" and "make"

the projects folder you created will be located at: C:\Users\<Windows User Name>\projects

(optional)
12) If you like automation, extract the attached script to c:/devkitPro/msys2/opt/bin. You can now simply type "update" from msys2 while in the FBI folder. This will clean the build, pull all upline changes for itself and dependencies, and rebuild itself.



**edited multiple times to make this my easy, go-to tutorial for newbs. Current as of DKP installer version 3.0.3.
 

Attachments

  • update.zip
    229 bytes · Views: 249
Last edited by urherenow,

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,794
Trophies
2
Age
48
Location
Japan
XP
3,699
Country
United States
I don't think your tutorial will make xxd magically appear if it's required by the makefle
try following the tutorial before you embarrass yourself...

HINT: If you install fresh with the latest devkitpro installer, it comes with msys2 built in, which comes with vim
(and xxd). You don't need a separate install of it unless you did something wrong. The tut is perfect, and nowhere did I say to install vim. There's no need.
 
Last edited by urherenow,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion