compiling problem

Post Reply
Anubis
Posts: 1
Joined: Sun May 08, 2011 5:14 pm

compiling problem

Post by Anubis » Sun May 08, 2011 5:23 pm

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?

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: compiling problem

Post by WinterMute » Mon May 09, 2011 12:34 pm

We don't support PALib here, it's known to have many problems.

See http://devkitpro.org/wiki/PAlib
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest