Search found 13 matches
- Fri Sep 04, 2009 8:28 pm
- Forum: PSP Development
- Topic: Toolchain build error on OSX.
- Replies: 2
- Views: 1556
- Fri Sep 04, 2009 9:10 am
- Forum: PSP Development
- Topic: Toolchain build error on OSX.
- Replies: 2
- Views: 1556
Toolchain build error on OSX.
I'm trying to build the psptoolchain on OSX. It all goes fine until the final stage, psplink where I get a number of errors like the following: g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C pspsh.C: In function 'int execute_line(const char*)': pspsh.C:232: error: invalid conversion from ...
- Fri Sep 04, 2009 6:03 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
As pointed out if you get psplink running it comes with its own exception handler so you dont need to set up anything else and will help in development and debugging to boot. OK, so I'm now trying to install the most recent toolchain but I can't find libusb-dev for OSX anywhere. Does anyone know wh...
- Fri Sep 04, 2009 2:13 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
>Surely I don't have to close and reopen the file each time I want to log to it. What's wrong with that? Isn't that innefficient? i read it's not possible to do a fflush on psp. You can do a devctl to memorystick to fulsh ALL the files. opening, writing and closing is more efficient ;) ab - thanks ...
- Fri Sep 04, 2009 1:32 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
- Fri Sep 04, 2009 12:59 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
You really shouldn't be doing anything with the 1.50 kernel anymore. There is simply NO need for it for almost any homebrew application. Thanks for the tip. The deal is I've picked up a project from a couple of years ago so my setup is outdated. If someone could link me to a thread summarising the ...
- Wed Sep 02, 2009 7:34 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
Yes, closing the file writes everything to it. But this isn't a very good solution since I'm trying to debug a problem that crashes the PSP necessitating a power up. Surely I don't have to close and reopen the file each time I want to log to it. Or is there a way of trapping the crash so that I can ...
- Wed Sep 02, 2009 3:15 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
- Wed Sep 02, 2009 2:13 am
- Forum: PSP Development
- Topic: Debug file not receiving characters
- Replies: 13
- Views: 7378
Debug file not receiving characters
I'm building my app using kxploit and installing it on 3.52 M33 firmware to the PSP/GAME150 directory. I use the following code to print to a debug file: FILE * g_DbgFile; void DBG_Init() { #ifdef DBG_TO_FILE g_DbgFile = fopen ("./simpleplatformdbg.txt",&qu...
- Wed Sep 02, 2009 2:05 am
- Forum: PSP Development
- Topic: SDL linking cannot find definition of Unlock Surface
- Replies: 7
- Views: 2778
An odd issue if the OSX build is still erroneously letting the binary get linked to the improperly spelled function. No clue. Does it crash? That's correct, OSX was compiling and running the improperly spelt function using an unrelated SDL implementation. My guess is that there is a typedef hidden ...
- Fri Aug 28, 2009 2:27 am
- Forum: PSP Development
- Topic: SDL linking cannot find definition of Unlock Surface
- Replies: 7
- Views: 2778
- Fri Aug 28, 2009 1:41 am
- Forum: PSP Development
- Topic: SDL linking cannot find definition of Unlock Surface
- Replies: 7
- Views: 2778
SDL linking cannot find definition of Unlock Surface
Hi all, As you can see from the linker error below the definition of SDL_UnLockSurface is not available to me. This is made all the stranger by the fact that SDL_LockSurface is! Could someone pass their eyes over the command below and verify if I've got all the necessary linker flags present? It wou...
- Wed Aug 26, 2009 6:12 pm
- Forum: PSP Development
- Topic: SDL to reflect a bitmap
- Replies: 1
- Views: 1224
SDL to reflect a bitmap
I've been writing the basics of a 2D sprite engine using SDL. The next task I want to do is reflect the Sprite in the y-axis.
I understand this sort of functionality is not presupplied in the SDL. That being the case is there a preferred library I should use?
Or should I just write this myself?
I understand this sort of functionality is not presupplied in the SDL. That being the case is there a preferred library I should use?
Or should I just write this myself?