[Scummvm-devel] Tools build problem

Hubert Maier raziel_nosgoth at web.de
Thu Apr 1 23:20:06 CEST 2010


Hi Ori,

>> i have a problem/error with the tools build

> Could you try copying the common/scummsys.h from the regular scummvm and 
> try again? I think the tools one is out of date and missing this:

> #elif defined(__amigaos4__)
> ...

Where do i get your updates sources?

Did the copying, now i get an error a little further on

    C++      engines/kyra/dekyra.o
engines/kyra/dekyra.cpp: In function 'int main(int, char**)':
engines/kyra/dekyra.cpp:133: warning: format '%1d' expects type 'int', but
argument 3 has type 'int32'
engines/kyra/dekyra.cpp: In member function 'bool Script::loadScript(const char*,
ScriptData*, OpcodeEntry*, int)':
engines/kyra/dekyra.cpp:233: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp:234: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp:261: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp:261: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp: In member function 'void
Script::printTextArea(ScriptData*, const char*)':
engines/kyra/dekyra.cpp:308: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp: In member function 'void
Script::processScriptTrace(ScriptData*)':
engines/kyra/dekyra.cpp:320: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp: In member function 'void
Script::decodeScript(ScriptData*)':
engines/kyra/dekyra.cpp:421: warning: cast from 'byte*' to 'uint16*' increases
required alignment of target type
engines/kyra/dekyra.cpp: In function 'void getOpcodesV2(OpcodeEntry*&, int&)':
engines/kyra/dekyra.cpp:711: error: 'ARRAYSIZE' was not declared in this scope
gmake: *** [engines/kyra/dekyra.o] Error 1

Ciao

Hubert
-- 





More information about the Scummvm-devel mailing list