Page 1 of 1

compiling problem

Posted: Sun May 08, 2011 5:23 pm
by Anubis
Hallo friends.
I compiled a project, put it onto my R4 Card but it does not work. The backgrounds are shown but the color code does not get actualized after touching the screen.

Code: Select all

int main(){
	PA_Init();
	PA_LoadDefaultText(1, 0);
	PA_LoadBackground(0, 1, &bgzz);	
	PA_LoadBackground(0, 0, &bgzzcol);	
              while(true){
	       PA_OutputText(1, 2, 5, "Color: %d   ", PA_EasyBgGetPixelCol(0, 1, Stylus.X, Stylus.Y));
	}
}
I also tried to copy a project from the lessons-directory but also that broke down. Is it the wood-software on r4? or did i really make something wrong?

Re: compiling problem

Posted: Mon May 09, 2011 12:34 pm
by WinterMute
We don't support PALib here, it's known to have many problems.

See http://devkitpro.org/wiki/PAlib