[Scummvm-devel] enabled engines and dependency tracking

Willem Jan Palenstijn wjp at usecode.org
Wed Oct 13 16:33:21 CEST 2010


Hi,

In the following scenario I get a link error at the end:

./configure
make clean
make
./configure --enable-all-engines
make


The reason seems to be that graphics/video/codecs/qdm2.{cpp,h} are
conditionally compiled based on if the Mohawk engine is built. They don't
include config.h, so aren't automatically rebuilt when reconfiguring. (I'm not
implying they should be; they use nothing in config.h.)

Any suggestions? The easiest way of working around this might be to include
config.h or scummsys.h anyway in qdm2.h, to force a rebuild after
reconfiguring, but that doesn't seem very elegant...

(And maybe there are other conditional audio/video components that would cause
similar problems if engines are enabled/disabled in different combinations.)

-Willem Jan




More information about the Scummvm-devel mailing list