XorTroll / emuiibo

Virtual amiibo (amiibo emulation) system for Nintendo Switch
GNU General Public License v2.0
1.14k stars 84 forks source link

Makefile issue executing cargo #230

Closed urherenow closed 1 year ago

urherenow commented 1 year ago

I was going to make a build using the latest libtesla, but cargo really doesn't like your makefile (on Ubuntu). It ends up with

Updating unicode-ident v1.0.4 -> v1.0.6
error: no such command: `nx`

        Did you mean `b`?

I assume because of this:

&& cargo nx build --release

I can simply remove nx from the line, but then get stuck at:

updating git repository https://github.com/aarch64-switch-rs/logpacket error: failed to run rustc to learn about target-specific information

I'll try with mingw64 in Msys2 instead and update (or delete) this issue. Just gotta get rust and cargo installed first... EDIT: Same thing in MinGW64

djskual commented 1 year ago

had you installed cargo-nx? https://github.com/aarch64-switch-rs/cargo-nx

urherenow commented 1 year ago

Lol... I just saw this reply after scratching my head over it for some time (edit: it finished building while I was typing this reply)

First, I had to uninstall rust and get rustup installed. Then I followed from step 2 and 3 here: https://github.com/aarch64-switch-rs/setup-guide.

I'm good now and have built it with the required libtesla change.