I'm trying to get into 3ds homebrew development but I'm facing a problem with this code:
Here's what bash looks like:
Code:
#include <stdio.h>
#include <3ds.h>
int main()
{
//Initialise console
gfxInitDefault();
consoleInit(GFX_TOP,NULL);
//Print hello world
printf("Hello World!");
//Main loop
while (aptMainLoop())
{
gfxFlushBuffers();
gfxSwapBuffers();
gspWaitForVblank();
}
//Exit
gfxExit();
return 0;
}
stackmasher@stackmasher-Precision-WorkStation-T3400 ~ $ /opt/devkitPro/devkitARM/bin/arm-none-eabi-gcc /media/stackmasher/cfca4fc1-f4ef-4ffd-a2d3-cf6fc050941e/Programming/learn/3ds/main.c
/media/stackmasher/cfca4fc1-f4ef-4ffd-a2d3-cf6fc050941e/Programming/learn/3ds/main.c:2:17: fatal error: 3ds.h: No such file or directory
compilation terminated.