I did this... http://www.devkitpro.org/faq/how-do-i-u ... c-express/
but when I try to compile this
Code: Select all
#include <nds.h>
#include <stdio.h>
int main(void)
{
int i;
consoleDemoInit();
videoSetMode(MODE_FB0);
vramSetBankA(VRAM_A_LCD);
printf("Hello World!\n");
printf("drunkencoders.com");
for(i = 0; i < 256 * 192; i++)
VRAM_A[i] = RGB15(31,0,0);
return 0;
}
It doesn't actually compile and I get this for an output.
1>------ Build started: Project: Pokesav ds, Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>make: *** No targets specified and no makefile found. Stop.
1>Build log was saved at "file://c:\Users\Matt\Documents\Visual Studio 2008\Projects\Pokesav ds\Debug\BuildLog.htm"
1>Pokesav ds - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========