I'm new here, my english is not very good, sorry for my errors. I'm new in PSP development, I mainly programmed on PC, GBA, TI89 before, which are sensibly different from PSP ;)
I just installed the PSP toolchain, which took 5 hours for the script to complete. I tried to recompile a simple sample but I realized that a LOT of functions were missing, pretty all beginning with "sceGu" and related defines.
I searched a lot to get the gu library, I downloaded the latest PSPSDK, hopping it would fix this, but not. If I google I see that gu should be included with PSPSDK (/sdk/gu/...), but there's NOTHING in the one I downloaded (from the sticky topic in this section)... I found a link to the GU library but it was broken...
I also tried to recompile another SIMPLE program, which gives me:
Code: Select all
Florian@FLORIAN ~/docs/me
$ ./build
me_mem_dump.c: In function 'main':
me_mem_dump.c:15: warning: passing argument 1 of '_sw' makes integer from pointe
r without a cast
/usr/local/pspdev/bin/../psp/lib/libc.a(sbrkr.o): In function `_sbrk_r':
../../../../../newlib/libc/reent/sbrkr.c:60: undefined reference to `sbrk'
../../../../../newlib/libc/reent/sbrkr.c:60: relocation truncated to fit: R_MIPS
_26 against `sbrk'
main.c: In function 'test':
main.c:25: warning: passing argument 2 of 'sceIoWrite' makes pointer from intege
r without a cast
/usr/local/pspdev/lib/gcc/psp/4.0.0/../../../../psp/bin/ld: cannot find -lpspdis
play
collect2: ld returned 1 exit status
Can you help me please? What should I download to use GU and other functions not found?
Thank you in advance