Error 127 when trying to compile my homebrew
Posted: Sun Jul 14, 2024 3:41 pm
When I try to compile my homebrew, I get the error:
Here is my makefile code:
I'm using mysys2 in Windows 11. I tried to run it on Windows 8 using VM, but I get the same error. I need help to fix that
Code: Select all
bash: line 1: ld: command not found
make: *** [I:\devkitPro\devkitarm\3ds_rules:44: 3ds_homebrew.elf] Error 127
Code: Select all
export DEVKITPRO=I:\devkitPro
export DEVKITARM=I:\devkitPro\devkitARM
include $(DEVKITPRO)\devkitarm\3ds_rules
TARGET = 3ds_homebrew
BUILD := build
SOURCES := source
GRAPHICS := gfx
GFXFILES := $(GRAPHICS)\tsoi.png $(GRAPHICS)\cigarette.png
GRITFLAGS := -gt -fh -p!
.PHONY: $(BUILD) clean
$(BUILD): $(GFXFILES) $(TARGET).3dsx
$(TARGET).3dsx: $(TARGET).elf
@$(STRIP) $(TARGET).elf
@$(OUTPUT).3dsx
clean:
@rm -rf $(BUILD) $(TARGET).3dsx $(TARGET).elf
include $(DEVKITPRO)\devkitarm\3ds_rules
I'm using mysys2 in Windows 11. I tried to run it on Windows 8 using VM, but I get the same error. I need help to fix that