Comments (7)
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.
(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.
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.
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.
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.
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.
@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)
- Distinguish between locked tags and lost connection
- Unable to open NFC device HOT 1
- Issues getting the program started HOT 3
- Could not open ~/Animal Crossing/Cards/Series 2/[AC] 188 - Ankha.bin HOT 1
- issue starting program HOT 2
- Make HOT 6
- Read incorrect number of bytes from file: HOT 2
- error: ‘uint8_t’ does not name a type HOT 4
- sh: 1: ./amiitool/amiitool: not found HOT 1
- Compatibility with RC522 HOT 1
- Could not load keys from "XXXX/unfixed-info.bin": Success (0) HOT 1
- Project License HOT 1
- High Speed UART RPi4
- Animal Crossing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimiibo.