Recent content by gavinb2k

  1. G

    Gp2x F200 And 1gb Sd Card (£100+p&p)

    Hi all, i am selling my gp2x f200 (as needing some funds.) Its a GP2x F200 (boxed and used less than 10 times) with a 1Gb sd card, i'm looking to get £100 £90 + p&p. For added security for both parties i've listed it on Ebay, payment via paypal only. details...
  2. G

    GP2X Sdl On F200

    was very lucky :-)
  3. G

    GP2X Sdl On F200

    spot the mistake SDL_Surface* screen = SDL_SetVideoMode(320, 240, 321, SDL_SWSURFACE); if(!screen) { fprintf(stderr,"Screen not ready"); return 0; }
  4. G

    GP2X Sdl On F200

    my makefile, this was just a edit of and existing demo one: CODE CROSS_COMPILE = C:/devkitGP2X/bin/arm-linux- SDL_BASE = C:/devkitGP2X/bin/arm-linux- LDFLAGS = -static CC = $(CROSS_COMPILE)gcc CXX = $(CROSS_COMPILE)g++ STRIP = $(CROSS_COMPILE)strip CFLAGS = `$(SDL_BASE)sdl-config --cflags`...
  5. G

    GP2X Sdl On F200

    will post make file tonight, i adjusted the run script to use ./gp2xmenu and it runs. i've compiled just CODE #include <stdio.h> int main(int argc,char **argv) { fprintf(stderr,"Program entry\n"); return 0; } and its printing to error.txt its only if i just the SDL stuff in it's...
  6. G

    GP2X Sdl On F200

    #include <stdio.h> int main(int argc,char **argv) { fprintf(stderr,"Program entry\n"); return 0; } You get the problem with this code? Even if main.gpe didn't exist, you'd expect to get ./main.gpe : No such file or directory in error.txt In your script, the last line should...
  7. G

    GP2X Sdl On F200

    Lol, i lazy type i'm afraid, its saves me seconds.... of course no more lazy than - afaik... :D i think the app. is crashing at beginning, as even if i make the first line of the main function CODE #include <stdio.h> int main(int argc,char **argv) { fprintf(stderr,"Program entry\n")...
  8. G

    It Won't Compile?

    See it? See that one huge hellish mistake? Yes. Now disregard this topic XD been there, done that, but at least it works now :-)
  9. G

    It Won't Compile?

    what version of gcc are you using?
  10. G

    GP2X Sdl On F200

    2>&1 to redirect stderr to stdout and so to the file too. sync to force buffered data to be written to the SD card. exec overwrites the current process so the script finishes when exec is called. Legend, thanks alot, shall have a play when work is finially finished, see if i can see why its...
  11. G

    GP2X Sdl On F200

    thx, with ref. to capturing errors to a file would this work: run.sh::: CODE #!/bin/bash exec main.gpe > error.txt cd /usr/gp2x exec gp2xmenu
  12. G

    GP2X Sdl On F200

    (this will only get rid of the black screens that appear after your app quits) many thanks, i'll create a shell script to capture the ouptput from the file as well. thanks for helping :-)
  13. G

    GP2X Sdl On F200

    sorry. had probs with fasthost so link off till they sort it :-( upon exit from the app the it just calls the sdl quit function then returns 1? is this poss the issue, as i dont restart menus?
Back
Top