gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Problems with hello world

#167776 - brianfast - Fri Mar 27, 2009 3:43 am

Hello, I am a novice C++ programmer but I thought it would be fun to make a few applications for the DS. However I am extremely frustrated by the lack of easy to read documentation on how to do this. Most guides are cryptic and reference other guides and this leads to confusion. Anyway here is my main problem.

I installed devkitpro and when I try and make files from the command line it says make is not a recognized command...

Seems rather silly... why did I download this supposed compiler if I cannot even build things... Anyway... Does anyone know what went wrong and can you point me in the direction I need to go in order to start compiling basic programs.... I am running windows xp.

#167777 - Dwedit - Fri Mar 27, 2009 4:07 am

Control Panel -> System -> Advanced -> Environment Variables

Make sure that PATH contains "c:\devkitPro\msys\bin" somewhere is there, if it isn't there, add it in.

That's where make.exe comes from.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#167780 - albinofrenchy - Fri Mar 27, 2009 5:29 am

If you use programmers notepad(Not the best software; I give you that) it handles alot of that stuff for you. I'd use it for hello world stuff just to get a baseline and then go from there if you want to switch to something else.