Compile libmpeg2

Subforum for discussion and help with ScummVM's PSP (PlayStation Portable) port

Moderator: ScummVM Team

Post Reply
aVirulence
Posts: 2
Joined: Mon Sep 04, 2006 12:11 pm

Compile libmpeg2

Post by aVirulence »

Does anyone know how to compile the libmpeg2 source for the PSP. I'm trying to compile scummvm myself, but the only thing I need is libmpeg2. Libmpeg2 seems to need libpthread and that I don't have.

Anyone have any idea?
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

  1. Add a "psp" machine type to autotools/config.sub
  2. LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --disable-sdl --host psp --prefix=$(psp-config --psp-prefix)
  3. make && make install
Post Reply