Error compiling LuaPLayer

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Anti-QJ
Posts: 16
Joined: Thu May 03, 2007 2:34 pm

Error compiling LuaPLayer

Post by Anti-QJ »

I get this error when i try to compile LuaPlayer

Code: Select all

Owner@Chea ~
$ cd LuaPlayer

Owner@Chea ~/LuaPlayer
$ make
psp-gcc -I. -IC:/pspdev/psp/sdk/include -G0 -Wall -O0 -fno-strict-aliasing -mno-
explicit-relocs  -I/usr/include/freetype2  -L. -LC:/pspdev/psp/sdk/lib -specs=C:
/pspdev/psp/sdk/lib/prxspecs -Wl,-q,-TC:/pspdev/psp/sdk/lib/linkfile.prx   src/g
raphics.o src/sound.o src/luaplayer.o src/utility.o src/main.o src/framebuffer.o
 src/luacontrols.o src/luagraphics.o src/luasound.o src/luatimer.o src/luasystem
.o src/luawlan.o src/lua3d.o loadlib.o src/exports.o -llua -llualib -lpng -ljpeg
 -lz -lpspgum -lm -lmikmod -lmmio -lfreetype -lz -lpsprtc -lpspaudiolib -lpspaud
io -lpspusb -lpspusbstor -lpsppower -lpspwlan -lpspgu -lpspdebug -lpsphprm_drive
r -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet
-lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o luaplayer
.elf
/cygdrive/c/pspdev/bin/../lib/gcc/psp/4.0.2/../../../../psp/bin/ld: cannot find
-lmmio
collect2: ld returned 1 exit status
make: *** [luaplayer.elf] Error 1
So what do I have to do?
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

Install mikmod.

This tutorial is somewhat dated, but mainly accurate: http://wiki.ps2dev.org/psp:lua_player:compiling
Anti-QJ
Posts: 16
Joined: Thu May 03, 2007 2:34 pm

Post by Anti-QJ »

Thank you very much sir.
Post Reply