need help compiling .nds as a noob

SuspiciousTapeworm

New Member
Newbie
Joined
Nov 27, 2021
Messages
3
Reaction score
0
Trophies
0
Age
22
XP
64
Country
Philippines
What title says. I'm dicking around with some code for the DS but I can't figure out how to compile them. I don't know how to run the make command. While I read up on some other threads I really don't understand. Help please?
 
What homebrew is this? Generally though for Windows you want to install devkitARM, open Msys2, navigate to the source code using cd, and once you're in the folder with Makefile, run make
 
  • Like
Reactions: godreborn
I'm not using a homebrew. I copy pasted code from this tutorial (DS Programming for Newbies, here on GBA temp; it's not letting me post links), the exercise #1, and tried to run it.
So what exactly do I need to type to run make? the last time I tried, it told me to stop.
 
You may not have devkitarm in environmental variables. I think it should've added it by default though.
 
What do you mean by "it told me to stop"? What told you to stop and what was the exact message?

If you installed the environment correctly, all you should have to do is type "make" in a command prompt at the directory that has the Makefile in it.

The tutorial you mentioned is quite old and most of the links it has for setting up an environment no longer work. The old devkitPro page includes a link redirecting you to a new page where you can get recent versions of devkitARM and libnds. The NFlib link warns you that NFlib may no longer work with newer versions of devkitARM and libnds, though.

If you have installed devkitARM with libnds, I would suggest getting and compiling some of the libnds examples as a first test. Examples are available here: https://github.com/devkitPro/nds-examples
 
yeah, works for me:

1638155184579.png
 
I tried compiling the tic-tac-toe game, but there was an error. I think the project may be too old as it stands:

1638202584470.png
 

Site & Scene News

Popular threads in this forum