#2731 closed defect (fixed)
ALL: Build failure if libmpeg2 is disabled
Reported by: | fingolfin | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
I just tried to recompile latest SVN on my universit account, where libmpeg2 is missing. It failed with this error:
engines/sword2/animation.cpp:488: error: `MoviePlayerMPEG' has not been declared engines/sword2/animation.cpp:488: error: ISO C++ forbids declaration of `MoviePlayerMPEG' with no type engines/sword2/animation.cpp: In function `int Sword2::MoviePlayerMPEG(Sword2::Sword2Engine*)': engines/sword2/animation.cpp:488: error: only constructors take base initializers [...]
I assume that something in the recent cleanup caused this, but hopefull it'll be easy to fix. Unfortunately I have no time right now else I'd look into this myself. Torbjörn?
Ticket imported from: #1519817. Ticket imported from: bugs/2731.
Change History (3)
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
comment:3 by , 6 years ago
Component: | → --Other-- |
---|
Yup, that was my fault. I forgot to #ifdef the MPEG class in animation.cpp. Should be fixed now.