Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on windows about paths #44

Closed
boozook opened this issue Jul 15, 2023 · 1 comment
Closed

Error on windows about paths #44

boozook opened this issue Jul 15, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@boozook
Copy link
Member

boozook commented Jul 15, 2023

This error and that

Screenshot 2023-07-15 at 22 29 14

Because of arm-gcc already installed, I'm sure problem in searching-algorithm in crank.

INFO  crank > compile_setup: "C:\\Program Files (x86)\\GNU Tools Arm Embedded\\9 2019-q4-major\\bin\\arm-none-eabi-gcc.exe" "-g3" "-c" "-mthumb" "-mcpu=cortex-m7" "-mfloat-abi=hard" "-mfpu=fpv5-sp-d16" "-D__FPU_USED=1" "-O2" "-falign-functions=16" "-fomit-frame-pointer" "-gdwarf-2" "-Wall" "-Wno-unused" "-Wstrict-prototypes" "-Wno-unknown-pragmas" "-fverbose-asm" "-Wdouble-promotion" "-mword-relocations" "-fno-common" "-ffunction-sections" "-fdata-sections" "-DTARGET_PLAYDATE=1" "-DTARGET_EXTENSION=1" "-fno-exceptions" "C:/Users/runneradmin/Documents/PlaydateSDK\\C_API\\buildsupport\\setup.c" "-I" "C:/Users/runneradmin/Documents/PlaydateSDK\\C_API" "-o" "D:\\a\\crank\\crank\\crankstart\\target\\thumbv7em-none-eabihf\\release\\setup.o"
Error: The system cannot find the path specified. (os error 3)

I suppose we need to pass normalized non-windows paths to gcc, replace \\ with normal separators /.

@boozook boozook added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Jul 15, 2023
parasyte added a commit to parasyte/crank that referenced this issue Aug 27, 2023
Looks like the compiler path changed in recent versions. I'm using
Version `12.3.Rel1`, released July 28, 2023.

https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads

Possible fix for pd-rs#44?
@parasyte
Copy link
Contributor

This is fixed by #49

@boozook boozook closed this as completed Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants