Hi All,
I get the source code. I need to know how to compile it, start with source code until to be a eboot.pbp.
where can I get the sdk, and other tools that can build this pspggo-v1.1.0-src.zip package. And eboot is out for firmware 3.x format, not for a 1.5 format.
I have pspdev. but some function about graphics, it can not be linked.
then, I need to restart to get all stuff, to compile this for firmware 3.x (3.71 M33 preferred)
the problem of me is how to start, need examples and step. about programming language skills is not my problem.
so let guide me to start to make an application for psp. (1.5 and 3.x for text mode (debugscreen), I think I have no problem). I have an example of hello world in graphics mode, I can't compile it completely, because of linker can't find the some function about graphics. So, what should I do or which libray that I need.
I use hellopsp_src_R1.zip for testing for a graphics mode.
it said can't link these functions:
//system call
void pspDisplayWaitVblankStart();
void pspDisplaySetMode(long,long,long);
void pspDisplaySetFrameBuf(char *topaddr,long linesize,long pixelsize,long);
what should i do, or where library for this.
-----
make
D:\900_PSP\psp_sdk\examples\hellopsp_src_R1\hellop sp_src>make
psp-gcc -I. -IC:/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
psp-gcc -I. -IC:/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o pg.o pg.c
psp-gcc -I. -IC:/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -LC:/pspdev/psp/sdk/lib main.o pg.o -lpspaudiolib -lpspaudio -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o alsample.elf
/cygdrive/c/pspdev/bin/../lib/gcc/psp/4.0.2/../../../../psp/lib/crt0.o: In funct
ion `_main':
/home/loser/newtoolchain/pspsdk/src/startup/crt0.c:86: undefined reference to `m
ain'
pg.o: In function `pgWaitVn':
pg.c.text+0x30): undefined reference to `pspDisplayWaitVblankStart'
pg.o: In function `pgWaitV':
pg.c.text+0x50): undefined reference to `pspDisplayWaitVblankStart'
pg.o: In function `pgScreenFrame':
pg.c.text+0x5c8): undefined reference to `pspDisplaySetFrameBuf'
pg.c.text+0x5f4): undefined reference to `pspDisplaySetFrameBuf'
pg.c.text+0x608): undefined reference to `pspDisplaySetFrameBuf'
pg.o: In function `pgInit':
pg.c.text+0x620): undefined reference to `pspDisplaySetMode'
pg.o: In function `pgScreenFlip':
pg.c.text+0x67c): undefined reference to `pspDisplaySetFrameBuf'
pg.c.text+0x69c): undefined reference to `pspDisplaySetFrameBuf'
collect2: ld returned 1 exit status
make: *** [alsample.elf] Error 1
--------------------
Ok, my problem was resolvedI can modify hello-example to run correctly with my installed pspdev. I see the example from pspdev sample, and use the current function of display header. (for example: changing pspDisplaySetFrameBuf to sceDisplaySetFrameBuf)
Bookmarks