Search found 6 matches

by yotryu
Sun Nov 30, 2008 10:53 pm
Forum: PSP Development
Topic: C++ Memory Issues
Replies: 3
Views: 1355

Thanks for the info Torch. I checked out malloc with PSPSDK and tried using PSP_HEAP_SIZE_KB(1024) to limit the allocated block so that (I thought) I could free up all the memory that was being taken up by it, but it doesn't seem to have worked. Although it does tell me now that I have more free mem...
by yotryu
Sat Nov 29, 2008 9:13 pm
Forum: PSP Development
Topic: C++ Memory Issues
Replies: 3
Views: 1355

C++ Memory Issues

Hey all, I've been slowly writing a small library for development on PSP (I'm trying to adapt my existing engine which I am very familiar with to the PSP), however it seems there's something I'm missing with c++ and class memory usage. Basically I've written a bunch of classes (there's only around 5...
by yotryu
Wed Oct 01, 2008 12:13 am
Forum: PSP Development
Topic: C++ library files not compiling with pspsdk
Replies: 11
Views: 3594

Wow. I can't believe I let that slip past me... I guess that's one thing that can happen if you're using other files instead of creating your own. Teach me to try out samples :P Thanks very much for the basic advice jojojoris. I'll admit at first I thought it was a rather pointless comment... Again ...
by yotryu
Tue Sep 30, 2008 7:36 pm
Forum: PSP Development
Topic: C++ library files not compiling with pspsdk
Replies: 11
Views: 3594

Ok turns out one big problem was that I missed one of the first errors... it was a missing file. So now I'm left with 38 errors (from including <string>), all of which are: 1. error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std' OR 2. error: expected '=', ',', ';', 'asm' or '__attrib...
by yotryu
Tue Sep 30, 2008 12:48 pm
Forum: PSP Development
Topic: C++ library files not compiling with pspsdk
Replies: 11
Views: 3594

Yeah no worries. Here's the makefile: TARGET = celshading OBJS = lightmap.o celshading.o ../common/callbacks.o INCDIR = C&#58;/pspsdk/psp/include/c++/4.3.2 CFLAGS = -G0 -Wall -O2 CXXFLAGS = $&#40;CFLAGS&#41; -fno-exceptions -fno-rtti ASFLAGS = $&#40;CFLAGS&#41; LIBDIR = LDFLAGS =...
by yotryu
Tue Sep 30, 2008 10:54 am
Forum: PSP Development
Topic: C++ library files not compiling with pspsdk
Replies: 11
Views: 3594

C++ library files not compiling with pspsdk

Hey all, I'm new to the psp development scene and am having some trouble using the C++ standard library files (like "string" and "math" etc). Basically, I have set up MinPSPW to work with VC++ 2008 and I can compile the samples no worries, but on trying to include any files not p...