Search found 3 matches

by Arkanoid2520
Fri Nov 27, 2009 8:54 am
Forum: PSP Development
Topic: Would appreciate some help with SDL and PSP
Replies: 4
Views: 2632

When I used SDL, I used my own main function. CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags | sed s/-Dmain=SDL_main//) LIBS += $(shell $(PSPBIN)/sdl-config --libs | sed s/-lSDLmain//) Where PSPBIN is /usr/local/pspdev/psp/bin If you ...
by Arkanoid2520
Fri Nov 27, 2009 12:59 am
Forum: PSP Development
Topic: Would appreciate some help with SDL and PSP
Replies: 4
Views: 2632

extern "C" int SDL_main (int argc, char* args[]); int SDL_main (int argc, char* args[]) SDL_main - instead of your main function. And it should work. Ive already stated that I have tried that. Ive tried everything from int ma...
by Arkanoid2520
Thu Nov 26, 2009 8:25 am
Forum: PSP Development
Topic: Would appreciate some help with SDL and PSP
Replies: 4
Views: 2632

Would appreciate some help with SDL and PSP

I've been trying to set this up for a while now and it's extremely frustrating coming across error after error. I'm setting this up on ubuntu 9.10 and I even started the process over on a clean install. I got from the svn the psptoolchain,psplibraries, and then got sdl. I read the readmes of each fo...