switchbrew / switch-examples

Switch examples for devkitA64 and libnx.

Home Page:https://devkitpro.org/viewforum.php?f=42

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No examples are compiling

goop32 opened this issue · comments

Probably because of how my environment is set up, but still, I'm stuck. After running "make" in the hello-world directory, I get one of two errors: "/Users/[username]/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/7.1.0/../../../../arm-none-eabi/bin/ld: cannot represent machine `aarch64'" or "make[1]: *** [main.o] Error 1
make: *** [build] Error 2".

For the main.o error, I've tried running "touch main.o" in the build directory and I believe that's fixed it. However, for the aarch64 error, I don't really know how to fix or troubleshoot that. I might try reinstalling DKA and seeing if that works.

Thanks for all your work!

Update: reinstalling DKA and DKA64 had no effect on anything ):
Update 2: swapped the DKP ld with the macOS ld and it seemed to have worked, but now I'm facing a new error, this one doesn't look too difficult though

delete /Users/[username]/devkitPro then grab the appropriate pacman package from https://github.com/devkitPro/pacman/releases/latest.

For OSX you'll currently need to set DEVKITPRO manually. Once you have pacman installed use sudo dkp-pacman -S switch-dev to get the latest switch tools.

I tried installing both 1.0.0 and 1.0.1, both of them came back with this:
devkitPro installation failure

This is unrelated to switch examples.Please open an issue @ https://github.com/devkitpro/pacman/issues with full details of your system.