Compiling Luma

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I'm having trouble compiling luma. it says to add makerom to the path, but the problem is that the link provided--I can't compile that either. it also says there's no makerom directory. if I try to compile make rom, it says this:

Code:
C:\Users\GODREBORN\Desktop\Luma3DS-10.3\Project_CTR\makerom>make
CC src/accessdesc.c
/bin/sh: line 1: x86_64-w64-mingw32-gcc: command not found
make: *** [makefile:126: src/accessdesc.o] Error 127

this is luma:

Code:
C:\Users\GODREBORN\Desktop\Luma3DS-10.3>make
fatal: not a git repository (or any of the parent directories): .git
make[1]: Entering directory '/home/GODREBORN/Desktop/Luma3DS-10.3/sysmodules'
make[2]: Entering directory '/home/GODREBORN/Desktop/Luma3DS-10.3/sysmodules/loader'
make[3]: makerom: No such file or directory
make[3]: *** [/home/GODREBORN/Desktop/Luma3DS-10.3/sysmodules/loader/Makefile:123: /home/GODREBORN/Desktop/Luma3DS-10.3/sysmodules/loader/loader.cxi] Error 127
make[2]: *** [Makefile:103: build] Error 2
make[2]: Leaving directory '/home/GODREBORN/Desktop/Luma3DS-10.3/sysmodules/loader'
make[1]: *** [Makefile:17: loader] Error 2
make[1]: Leaving directory '/home/GODREBORN/Desktop/Luma3DS-10.3/sysmodules'
make: *** [Makefile:34: sysmodules] Error 2
 

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
nm, I got it. I had to add the compiler to path through ming64, then use make deps in the makerom folder followed by make, then cut and pasted the makerom.exe to the tools folder in devkitpro. after that, I used make on the luma folder, success:

1652026964390.png
 

Eveldee

Well-Known Member
Member
Joined
Aug 16, 2019
Messages
234
Trophies
0
Age
22
XP
1,425
Country
France
I'm impressed it's even possible to compile Luma on Windows, it shows that mingw is really handy when it comes to cross compilation, although I would personally use WSL as you did, it must be easier.
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
OP
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I'm impressed it's even possible to compile Luma on Windows, it shows that mingw is really handy when it comes to cross compilation, although I would personally use WSL as you did, it must be easier.
I always try to compile a project on both windows and linux, unless it's impossible on windows or something. :P
 
  • Like
Reactions: Eveldee

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Or Genesis.