residualvm/residualvm — Issue #542: MPEG2 support not properly disabled by default
Author: Screwtapello
Created: 2012-02-24 13:28:58+00:00
State: open

Although I've successfully built ResidualVM before (a few days ago), tonight I pulled and rebuilt, and got a build failure:

$ git log | head -3
commit 633fb63d83277568a9833d1f77c277597029ba8e
Author: Travis Howell
Date: Fri Feb 24 23:53:24 2012 +1100
$ git clean -dxf
$ ./configure --prefix=$PWD/out | grep -i mpeg2
Checking for libmpeg2 >= 0.3.2... yes
$ make
(...output skipped...)
C++ engines/grim/movie/mpeg.o
In file included from ./engines/grim/movie/mpeg.h:34:0,
from engines/grim/movie/mpeg.cpp:43:
./video/mpeg_player.h:57:29: fatal error: mpeg2dec/mpeg2.h: No such file or directory
compilation terminated.
make: *** [engines/grim/movie/mpeg.o] Error 1

I'm on Ubuntu, and while I have the `libmpeg2-4` package installed, I don't have `libmpeg2-4-dev` installed, so I'd have assumed ResidualVM would build without MPEG2 support. Besides which, `./configure --help` suggests that MPEG2 support is disabled by default:

--with-mpeg2-prefix=DIR Prefix where libmpeg2 is installed (optional)
--enable-mpeg2 enable mpeg2 codec for cutscenes [no]