[Help]Falied to compile FBI with devkitpro 3.0.3

Discussion in '3DS - Homebrew Development and Emulators' started by Spmario233, Aug 11, 2018.

  1. Spmario233
    OP

    Spmario233 Member

    Newcomer
    1
    Aug 13, 2017
    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, Aug 12, 2018
  2. Shadow#1

    Shadow#1 Wii & 3DS Softmod Expert

    Member
    10
    Nov 21, 2005
    United States
    3rd hilight your missing son DLLs go to that folder run the exe and it will tell u What's missing
     
  3. Joel16

    Joel16 Ils ne passeront pas

    Member
    11
    May 8, 2011
    United States
    Doesn't concern you.
    He doesn't know what he's talking about^

    You're missing picasso. You can get it from devkitpro's pacman.
     
  4. Spmario233
    OP

    Spmario233 Member

    Newcomer
    1
    Aug 13, 2017
    China
    I've already installed it via msys2!!!
     
  5. Shadow#1

    Shadow#1 Wii & 3DS Softmod Expert

    Member
    10
    Nov 21, 2005
    United States
    He ^ doesn't know what he's talking about
     
  6. Shadow#1

    Shadow#1 Wii & 3DS Softmod Expert

    Member
    10
    Nov 21, 2005
    United States
    Do as I told u
     
  7. Spmario233
    OP

    Spmario233 Member

    Newcomer
    1
    Aug 13, 2017
    China
    I've tried it, but it doesn't tell me anything...
     
  8. Joel16

    Joel16 Ils ne passeront pas

    Member
    11
    May 8, 2011
    United States
    Doesn't concern you.
    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?

    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.
     
  9. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    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.
     

    Attached Files:

    Last edited by urherenow, Aug 21, 2018
    Spmario233 and wowitsjosh like this.
  10. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    @Spmario233 you know, a reply would be cool so I know if I helped you out at all. I didn’t need to take my time to write the tutorial for you, since I’ve had zero problems using Linux in a VM.
     
    lone_wolf323 likes this.
  11. SommenRider

    SommenRider Member

    Newcomer
    2
    Mar 5, 2016
    Canada
    This helped me, so thank you!
     
    urherenow likes this.
  12. Spmario233
    OP

    Spmario233 Member

    Newcomer
    1
    Aug 13, 2017
    China
    I'm sorry...Thanks for your help!
     
  13. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    Were you able to build it?
     
  14. Spmario233
    OP

    Spmario233 Member

    Newcomer
    1
    Aug 13, 2017
    China
    Failed to update “A LOT” because of Internet connection...and I have no way to deal with that...
     
  15. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    I had a similar problem with xxd on windows and I noticed it just isn't included in devkitpro. I had to download Vim to get it.
     
  16. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    My tutorial proves otherwise. Or at the very least, proves it's not needed if you're set up correctly.
     
  17. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    I don't think your tutorial will make xxd magically appear if it's required by the makefle
     
  18. urherenow

    urherenow GBAtemp Psycho!

    Member
    9
    Mar 8, 2009
    United States
    Japan
    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, Sep 2, 2018
  19. jeffyTheHomebrewer

    jeffyTheHomebrewer GBAtemp Regular

    Member
    2
    Aug 24, 2018
    United States
    I'm getting the same error. what do I do?
     
  20. piratesephiroth

    piratesephiroth I wish I could read

    Member
    10
    Sep 5, 2013
    Brazil
    Use pacman to install vim. It does not come with msys by default.
     
  21. jeffyTheHomebrewer
    This message by jeffyTheHomebrewer has been removed from public view by linuxares, Jan 13, 2019, Reason: no need.
    Jan 12, 2019
Loading...