Compiling Luma

  • Thread starter Thread starter godreborn
  • Start date Start date
  • Views Views 1,423
  • Replies Replies 4

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,464
Solutions
14
Reaction score
24,175
Trophies
3
XP
29,465
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
 
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
 
got it to build in linux as well, after installing libctru, and copying makerom for linux into the right folder (II didn't realize you didn't have to build it) ;):

1652028824823.png
 
  • Like
Reactions: Eveldee and impeeza
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
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