Giter Club home page Giter Club logo

Comments (7)

command-tab avatar command-tab commented on July 28, 2024 2

I tried building pimiibo on my Pi 3B+ and ran into the same issue. (I've always built and run pimiibo on macOS with a USB NFC reader/writer, so this issue is new to me.) But at least it's failing consistently 😆

I managed to fix it and get it compiling successfully on the Pi by modifying the files amiibo.h and amiitool.h to include #include <stdint.h> right after #include <stdlib.h>. You can do something like nano amiibo.h to edit amiibo.h, add #include <stdint.h>, then press Ctrl-X, y, Return to exit.

Repeat for amiitool.h.

Run make again, and it should build successfully. Then you should be able to run ./pimiibo ~/key_retail.bin "~/AC/Animal Crossing/Cards/Series 2/[AC] 188 - Ankha.bin".

from pimiibo.

command-tab avatar command-tab commented on July 28, 2024

(Not the author, but I've used pimiibo many times)

It looks like you're having trouble running pimiibo, and the issue is related to use of file and directory paths. In your first attempt, your terminal was not navigated to the ~/pimiibo directory where the pimiibo program resides (hence the "Is a directory" error), and the path to the .bin file ended with a slash (indicating a directory, not a file). Then you ran cd pimiibo which was the right move to fix one of those issues, but then you omitted ./pimiibo from the second attempt. You did also remove the trailing slash on the .bin path on the second attempt, though. You were so close!

I think what you want to do is:

cd
cd pimiibo
./pimiibo ~/key_retail.bin "~/AC/Animal Crossing/Cards/Series 2/[AC] 188 - Ankha.bin"

from pimiibo.

kyle-matthews avatar kyle-matthews commented on July 28, 2024

Thank you ever so much for your reply!
I’ve typed everything in as you’ve suggested the terminal’s returning:
`Bash: ./pimiibo: no such file or directory.

EDIT: I’m not sure if step 3 might have something to do with when I enter the make Command.

I’ve spent most of today googling and looking around reddit and all sorts but there doesn’t seem to be much out there for me to look at.

from pimiibo.

command-tab avatar command-tab commented on July 28, 2024

Oh, if the pimiibo program isn't in the pimiibo/ directory, it must not have been compiled yet. What happens when you run make inside the pimiibo/ directory?

from pimiibo.

kyle-matthews avatar kyle-matthews commented on July 28, 2024

It goes through a lot, but it does mention at the end that it has 1 error. I’ve attached the exact copied and pasted message returns. Thanks again!
pimiibo make.txt

from pimiibo.

kyle-matthews avatar kyle-matthews commented on July 28, 2024

You sir are an absolute saint!
There’s absolutely no way I’d have figured that out without you! Thank you ever so much!

from pimiibo.

command-tab avatar command-tab commented on July 28, 2024

@garrett-davidson Is adding #include <stdint.h> to amiibo.h and amiitool.h a change you'd like to have in the repo? I'm happy to open a quick PR if you'd like.

from pimiibo.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.