I am new to the gcw but have been developing software for many years on various platforms.
I am trying to just get the minimum application possible to build and deploy. If there is a sticky some place that i have missed please let me know.
i am on ubuntu and have installed the latest toolchain to /opt/
i set up the toolchain in code blocks as follows:
my code is pretty simple
SDL_Surface *screen = NULL;
int main(int argc, char *argv)
isExit = 0;
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK);
screen = SDL_SetVideoMode(320, 240, 32, SDL_SWSURFACE);
SDL_FillRect(screen, &screen->clip_rect, SDL_MapRGB(screen->format, 255, 0, 0));
isExit = 1;
and i use the Open Package Creator tool to bundle up my application output:
i move the opk over to the device in /media/data/apps/
and it shows up on the games screen, but when i run it, it flickers for a second then goes back to the main screen.
Im sure i am missing something fairly basic. Any help you all could provide would be greatly appreciated.