Closed Local-Trash closed 1 month ago
Can you share the contents of the DEVKITARM
/DEVKITPRO
environment variables and what the resulting cc
path is right before the panicking call?
Technically none of the work done on the paths should be OS specific, so it's a bit weird that it is unable to find the binary under Windows.
DEVKITPRO
: "/opt/devkitpro"
DEVKITARM
: "/opt/devkitpro/devkitARM"
I don't know how to get the resulting cc
path. But the path in my computer is "/opt/devkitPro/devkitARM/bin/arm-none-eabi-gcc.exe".
Out of curiosity, how did you go about using ctru-rs on windows? I've tried it in the past, but given that the Rust windows gnu target and devkitARM both come with their own separate mingw/msys2 environments, I wasn't really sure how to make them play nicely with each other and so I've just been using wsl instead.
I have been using normal windows environment and using the nightly-msvc
toolchain. This is because I need the nightly build and gnu doesn't have a window's nightly build. Other than that I install cargo-3ds
, created a new project and ran cargo 3ds build
.
I have been using normal windows environment and using the
nightly-msvc
toolchain. This is because I need the nightly build and gnu doesn't have a window's nightly build. Other than that I installcargo-3ds
, created a new project and rancargo 3ds build
.
A normal windows environment? I see your env vars refer to Unix paths (see the forward slash), isn't that incompatible with the Windows' filesystem? I might have to remind you that using neither msys
/mingw
nor WSL
is unsupported by devkitPro
.
I just figured out how to compile rust without cargo-3ds
. This might be the problem though.
I have tried compiling my project to a .3dsx file and its not working. I have used the
pacman
installer to get all of the tools. But it still does not compile. This is the error it gives me.I have checked the build file and I found out that it fails when searching for
arm-none-eabi-gcc
. I looked for the file and it is in the right place. Does anyone know how to fix this?