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,345
Trophies
2
XP
8,005
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,273
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,752
Trophies
2
Age
48
Location
Japan
XP
3,645
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: 248
Last edited by urherenow,

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,752
Trophies
2
Age
48
Location
Japan
XP
3,645
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
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: