Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#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 eriktorbjorn, 18 years ago

Resolution: fixed
Status: newclosed

comment:2 by eriktorbjorn, 18 years ago

Yup, that was my fault. I forgot to #ifdef the MPEG class in animation.cpp. Should be fixed now.

comment:3 by digitall, 6 years ago

Component: --Other--
Note: See TracTickets for help on using tickets.