PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ScummVM kompilieren



Overburn2k
23.04.03, 13:34
Hi!
Wollte heute ScummVM unter Linux kompilieren (neuste CVS). Bekam allerdings folgenden Fehler:

c++ -Wp,-MMD,"common/.deps/engine.d2" -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -DUNIX -DUSE_MAD -I. -Icommon `sdl-config --cflags` -c common/engine.cpp -o common/engine.o
In file included from common/engine.cpp:26:
sound/mixer.h:29: warning: No include path in which to find mad.h
In file included from common/engine.cpp:26:
sound/mixer.h:105: field `_stream' has incomplete type
sound/mixer.h:106: field `_frame' has incomplete type
sound/mixer.h:107: field `_synth' has incomplete type
sound/mixer.h:125: field `_stream' has incomplete type
sound/mixer.h:126: field `_frame' has incomplete type
sound/mixer.h:127: field `_synth' has incomplete type
sound/mixer.h:131: syntax error before `;'
sound/mixer.h:137: type specifier omitted for parameter
sound/mixer.h:137: parse error before `)'
sound/mixer.h:212: type specifier omitted for parameter
sound/mixer.h:212: parse error before `)'
make: *** [common/engine.o] Error 1

SDL ist die neuese Version.
Habe Suse 8.0 Personal.

MfG;
Overburn

Turrican
05.07.03, 22:05
Hi,

ich weiß nicht, ob du hier überhaupt noch reinschaust (1 Posting), aber vielleicht hilft es ja dem einen oder anderen.

Bin mit der SuFu auf dich gestoßen, weil ich gerade dasselbe Problem hatte.
Die Lösung: mad-Paket und -devel installieren schafft Abhilfe! ;)

Tschüss,
Fabian.

kratz00
05.07.03, 22:11
oder diese 2 einträge im Makefile auskommentieren :)

DEFINES += -DUSE_MAD
LIBS += -lmad