NesHacker/GameBoyDev

Make error on Windows

Opened this issue · 0 comments

Rijast commented

First time I ran the make on Windows and received the following error:

process_begin: CreateProcess(NULL, which rm, ...) failed.
A subdirectory or file obj already exists.
Error occurred while processing: obj.
A subdirectory or file dep already exists.
Error occurred while processing: dep.
make: [dep/main.mk] Error 1 (ignored)
rgbasm -v -L -p 0xFF -isrc/ -isrc/include/ -isrc/bin/ -Wall -Wextra -h -M dep/main.mk -MG -MP -MQ obj/main.o -MQ dep/main.mk -o obj/main.o src/main.asm
process_begin: CreateProcess(NULL, rgbasm -v -L -p 0xFF -isrc/ -isrc/include/ -isrc/bin/ -Wall -Wextra -h -M dep/main.mk -MG -MP -MQ obj/main.o -MQ dep/main.mk -o obj/main.o src/main.asm, ...) failed.
make (e=2): The system cannot find the file specified.
A subdirectory or file obj already exists.
Error occurred while processing: obj.
A subdirectory or file dep already exists.
Error occurred while processing: dep.
make: [dep/joypad.mk] Error 1 (ignored)
rgbasm -v -L -p 0xFF -isrc/ -isrc/include/ -isrc/bin/ -Wall -Wextra -h -M dep/joypad.mk -MG -MP -MQ obj/joypad.o -MQ dep/joypad.mk -o obj/joypad.o src/joypad.asm
process_begin: CreateProcess(NULL, rgbasm -v -L -p 0xFF -isrc/ -isrc/include/ -isrc/bin/ -Wall -Wextra -h -M dep/joypad.mk -MG -MP -MQ obj/joypad.o -MQ dep/joypad.mk -o obj/joypad.o src/joypad.asm, ...) failed.    
make (e=2): The system cannot find the file specified.
A subdirectory or file obj already exists.
Error occurred while processing: obj.
A subdirectory or file dep already exists.
Error occurred while processing: dep.
make: [dep/collision.mk] Error 1 (ignored)
rgbasm -v -L -p 0xFF -isrc/ -isrc/include/ -isrc/bin/ -Wall -Wextra -h -M dep/collision.mk -MG -MP -MQ obj/collision.o -MQ dep/collision.mk -o obj/collision.o src/collision.asm
process_begin: CreateProcess(NULL, rgbasm -v -L -p 0xFF -isrc/ -isrc/include/ -isrc/bin/ -Wall -Wextra -h -M dep/collision.mk -MG -MP -MQ obj/collision.o -MQ dep/collision.mk -o obj/collision.o src/collision.asm, ...) failed.
make (e=2): The system cannot find the file specified.

Windows 11 Home
Version 10.0.22621 Build 22621