Am I missing a folder? What am I doing wrong??
Posted: Tue Dec 15, 2009 7:41 pm
Hello, peoples.. I'm new here, and thus far I've been meeting no success with this all...
(any inaccurecies in the given information is likely due to the fact that most of this took place when I was tired)
So I tried following multiple tutorials but was confused with them all, so just kinda made it up as I went along... I've used Dev-cpp for ever since I began C/C++ programming, which was some time ago, so if it's possible to use this, that would be good; allso I am attempting to program for the DS...
Last night I downloaded the Windows Installer thingy for DekvitPro, and selected to download and install... After a nice, long download (dial-up >.>) it finally was finished!
I opened the Programmer's Notepad thingy in "C:\devkitPro\examples\nds\hello_world" but when I select "Make" I get this:
And nothing builds... I attemtped searching for dekkitARM, and that folder does not exist. 'ds_rules' also does not exist anywhere on my computer.
Did I somehwo fail to download this? What might I be doing wrong? Further info is needed...
BTW, this is apparently what it's attempting to compile:
And apparently the tutorial was on Drunkencoders.com
(any inaccurecies in the given information is likely due to the fact that most of this took place when I was tired)
So I tried following multiple tutorials but was confused with them all, so just kinda made it up as I went along... I've used Dev-cpp for ever since I began C/C++ programming, which was some time ago, so if it's possible to use this, that would be good; allso I am attempting to program for the DS...
Last night I downloaded the Windows Installer thingy for DekvitPro, and selected to download and install... After a nice, long download (dial-up >.>) it finally was finished!
I opened the Programmer's Notepad thingy in "C:\devkitPro\examples\nds\hello_world" but when I select "Make" I get this:
Code: Select all
> "make"
Makefile:9: /c/devkitPro/devkitARM/ds_rules: No such file or directory
"make": *** No rule to make target `/c/devkitPro/devkitARM/ds_rules'. Stop.
> Process Exit Code: 2
> Time Taken: 00:00
Did I somehwo fail to download this? What might I be doing wrong? Further info is needed...
BTW, this is apparently what it's attempting to compile:
Code: Select all
/*---------------------------------------------------------------------------------
$Id: main.cpp,v 1.13 2008-12-02 20:21:20 dovoto Exp $
Simple console print demo
-- dovoto
---------------------------------------------------------------------------------*/
#include <nds.h>
#include <stdio.h>
volatile int frame = 0;
//---------------------------------------------------------------------------------
void Vblank() {
//---------------------------------------------------------------------------------
frame++;
}
//---------------------------------------------------------------------------------
int main(void) {
//---------------------------------------------------------------------------------
touchPosition touchXY;
irqSet(IRQ_VBLANK, Vblank);
consoleDemoInit();
iprintf(" Hello DS dev'rs\n");
iprintf(" \x1b[32mwww.devkitpro.org\n");
iprintf(" \x1b[32;1mwww.drunkencoders.com\x1b[39m");
while(1) {
swiWaitForVBlank();
touchRead(&touchXY);
// print at using ansi escape sequence \x1b[line;columnH
iprintf("\x1b[10;0HFrame = %d",frame);
iprintf("\x1b[16;0HTouch x = %04X, %04X\n", touchXY.rawx, touchXY.px);
iprintf("Touch y = %04X, %04X\n", touchXY.rawy, touchXY.py);
}
return 0;
}