| View previous topic :: View next topic |
| Author |
Message |
CT_Bolt
Joined: 04 Mar 2006 Posts: 14 Location: Computer Chair
|
Posted: Wed Apr 23, 2008 5:18 am Post subject: OSLib, I need help compiling a sample. |
|
|
Ok, I downloaded Super Patrick II from here:http://oslib.palib.info/samples/
I am sorta new but not really to the whole C/C++ Dev thing.
Anyway I have compiled my own C programs using OSLib, under the same settings I'm using now.
This is what I get when I try to compile Super Patrick II:
| Quote: | psp-gcc -I. -IC:/pspdev/psp/sdk/include -G0 -Wall -O2 -L. -LC:/pspdev/psp/sdk/
lib main.o -losl -lmikmod -lpng -lz -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsp
power -lpspgu -lpspaudiolib -lpspaudio -lm -lpspmpeg -lpspaudiocodec -lpspdebug
-lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apct
l -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o maps.elf
C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `oslLoadSoundFileAT3':
audio/media.c:404: undefined reference to `sceAudiocodecCheckNeedMem'
audio/media.c:377: undefined reference to `sceAudiocodecCheckNeedMem'
C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `osl_mp3Load':
audio/media.c:266: undefined reference to `sceAudiocodecCheckNeedMem'
C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `initME':
audio/media.c:172: undefined reference to `sceUtilityLoadAvModule'
collect2: ld returned 1 exit status
make: *** [maps.elf] Error 1 |
It is a C++ program, if that matters.
Any help would be greatly appreciated.
Thanks for reading this. |
|
| Back to top |
|
 |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Wed Apr 23, 2008 5:59 am Post subject: |
|
|
| i think you have to install a lib (an audio lib, i don't know wich) |
|
| Back to top |
|
 |
sakya
Joined: 28 Apr 2006 Posts: 190
|
Posted: Wed Apr 23, 2008 6:01 am Post subject: |
|
|
Hi! :)
I think you should update yur sdk. ;)
Ciaooo
Sakya |
|
| Back to top |
|
 |
CT_Bolt
Joined: 04 Mar 2006 Posts: 14 Location: Computer Chair
|
Posted: Thu Apr 24, 2008 2:08 am Post subject: Thanks... |
|
|
Umm ok... thanks...
Update my sdk... huh... yeah... right, right... that would probably work...
How do I update it?
Thanks for the replies. |
|
| Back to top |
|
 |
|