LIJI32 / SameBoy

Game Boy and Game Boy Color emulator written in C
https://sameboy.github.io/
Other
1.58k stars 205 forks source link

build fails when run on a drive mounted on a path with a space #572

Closed Moth-Tolias closed 7 months ago

Moth-Tolias commented 7 months ago

my Documents folder is symlinked to /media/susan/Kingston Alpha/Documents, which seems to trip up the build due to the space in the path not being escaped properly.

susan@jupiter:~/Documents/src/SameBoy$ make
rgbgfx  -Z -u -c embedded -o build/obj/BootROMs/SameBoyLogo.2bpp BootROMs/SameBoyLogo.png
cc -std=c99 -Wall -Werror BootROMs/pb12.c -o build/pb12
/media/susan/Kingston Alpha/Documents/src/SameBoy/build/pb12 < build/obj/BootROMs/SameBoyLogo.2bpp > build/obj/BootROMs/SameBoyLogo.pb12
/bin/sh: 1: /media/susan/Kingston: not found
make: *** [Makefile:603: build/obj/BootROMs/SameBoyLogo.pb12] Error 127