#137745 - sabatino - Wed Aug 15, 2007 10:00 am
so, i've writed a little game for the ds but i don't know how to compile it to a nds file.
can someone plz help me?
thx!!
#137748 - Tobin - Wed Aug 15, 2007 10:10 am
To compile your code you have to use devkitARM. It comes with many examples and predefined templates, so you should figure it out how to make it.
You can also take a look at one of the excellent tutorials.
_________________
DSChess - A chess game for the Nintendo DS
#137750 - sabatino - Wed Aug 15, 2007 10:26 am
i still don't get it, what do i need to do with makefile?
#137754 - jetboy - Wed Aug 15, 2007 12:25 pm
sabatino wrote: |
so, i've writed a little game for the ds but i don't know how to compile it to a nds file.
can someone plz help me?
thx!! |
I dont get it. How do you write anything if you cant compile?
I know there are prodigy coders, but i would yet have to see someone writing entire game for a system that is new to him/her never compiling it at any stage for testing, and still come up with something working.
_________________
Colors! gallery -> http://colors.collectingsmiles.com
Any questions? Try http://colors.collectingsmiles.com/faq.php first, or official forums http://forum.brombra.net
#137756 - sabatino - Wed Aug 15, 2007 1:06 pm
i can code in windows and i can compile in windows !!
but i can't compile it to nds !!
#137762 - Lick - Wed Aug 15, 2007 2:22 pm
1. Download DevKitPro.
2. Install DevKitARM and libnds and the examples.
3. In the /DevKitPro/examples/ directory find the templates directory.
4. Copy the arm9 directory and rename it to "myfirstproject".
5. Point your command-prompt to the "myfirstproject" directory and run "make".
You should get a myfirstproject.nds.
_________________
http://licklick.wordpress.com
#137766 - sabatino - Wed Aug 15, 2007 2:36 pm
ok thx
#137801 - Dood77 - Wed Aug 15, 2007 8:47 pm
Does he have to have cygwin?
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.
Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC
#137808 - tepples - Wed Aug 15, 2007 9:56 pm
Wintermute doesn't recommend using Cygwin with devkitARM. If you want an environment similar to Cygwin, with Bash and a healthy amount of GNU Coreutils, then take Cygwin out of your path (even if temporarily) and use MSYS, which devkitPro Updater usually installs alongside devkitARM.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.