Errors and (possible) solutions

working in Programmers NotePad

compile error:
error: expected specifier-qualifier-list before ‘u8’


error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getRotCentreX_imageView’

solution: #include <nds.h>

warning: implicit declaration of function ‘run’

you have a function clled ‘run’ but no declaration of it (either in this file or in an include)

solution: most probably: include the header file where the compiler can find this ‘run’ function

error: request for member ‘videoBuffer’ in something not a structure or union

it could be accessing a member of a struct with . instead of -> for instance:

((BUTTONVIEW*) myButtonViewPtr).videoBuffer= (u16 *)myVideoBuffer;

which must be:

((BUTTONVIEW*) myButtonViewPtr)->videoBuffer= (u16 *)myVideoBuffer;

make[1]: /c/Documents: No such file or directory
make[1]: *** No rule to make target `/c/Documents’.  Stop.
“make”: *** [build] Error 2

you tried to compile outside the devkitpro folder, put the project in this folder and it might compile without problems

warning: ‘touchReadXY’ is deprecated (declared at c:/devkitPro/libnds/include/nds/arm9/input.h:89)

Replaced the deprecated touchReadXY() calls with touchRead()

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: