Mohawk engine - Game data not found
Moderator: ScummVM Team
- MusicallyInspired
- Posts: 1138
- Joined: Fri Mar 02, 2007 8:03 am
- Location: Manitoba, Canada
- Contact:
Mohawk engine - Game data not found
I compiled my own build. I can't seem to run any Mohawk engine games as the game data files are "not found", even though it added to the game list with success. Am I doing something wrong? Did I not compile the build properly?
Re: Mohawk engine - Game data not found
Which games? You need to --enable-riven, --enable-myst or --enable-cstime to play one of those three if you didn't enable all engines, but it will tell you that support wasn't compiled in, on the Windows console (or equivalent) and the log file.MusicallyInspired wrote:I compiled my own build. I can't seem to run any Mohawk engine games as the game data files are "not found", even though it added to the game list with success. Am I doing something wrong? Did I not compile the build properly?
- MusicallyInspired
- Posts: 1138
- Joined: Fri Mar 02, 2007 8:03 am
- Location: Manitoba, Canada
- Contact:
- MusicallyInspired
- Posts: 1138
- Joined: Fri Mar 02, 2007 8:03 am
- Location: Manitoba, Canada
- Contact:
Well, enable-all-engines works except that it won't build the Broken Sword 2.5 engine in because apparently libpng wasn't installed correctly. I tried to go back and just compile it myself but it doesn't seem to work. Everything ends in an error and I can't quite nail down exactly what the problem could be. And I can't find any help on Google. This is the output I get. Maybe someone can tell me what's wrong? I imagine it's something simple I'm missing but I can't spot it.
I can get by by just disabling BS2.5 but I'd like to fix the problem if I can.
I can get by by just disabling BS2.5 but I'd like to fix the problem if I can.
Code: Select all
C:/MinGW/bin/make all-am
make[1]: Entering directory `c:/libpng-1.5.4'
C:/MinGW/msys/1.0/bin/sh.exe ./libtool --tag=CC --mode=compile gcc -DHAVE_CON
FIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng15_la-png.lo -MD -MP -MF .d
eps/libpng15_la-png.Tpo -c -o libpng15_la-png.lo `test -f 'png.c' || echo './'`p
ng.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT lib
png15_la-png.lo -MD -MP -MF .deps/libpng15_la-png.Tpo -c png.c -o libpng15_la-pn
g.o
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windef.h:253:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:48,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winnt.h:78:15: error:
expected identifier or '(' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winnt.h:145:9: error:
expected identifier or '(' before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windef.h:253:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:48,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winnt.h:3097:2: error:
expected specifier-qualifier-list before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winnt.h:3131:3: error:
expected specifier-qualifier-list before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:48:0,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:331:2: error:
expected specifier-qualifier-list before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:49:0,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wincon.h:70:2: error:
expected specifier-qualifier-list before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wincon.h:80:2: error:
expected specifier-qualifier-list before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:52:0,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wingdi.h:1485:2: error
: expected specifier-qualifier-list before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:55:0,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winuser.h:3671:12: err
or: expected identifier or '(' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winuser.h:3728:12: err
or: expected identifier or '(' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winuser.h:4137:12: err
or: expected identifier or '(' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winuser.h:4138:12: err
or: expected identifier or '(' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winuser.h:4139:12: err
or: expected identifier or '(' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winuser.h:4140:12: err
or: expected identifier or '(' before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
oleauto.h:158:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
ole2.h:11,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:114,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oaidl.h:270:3: error:
expected specifier-qualifier-list before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oaidl.h:407:2: error:
expected specifier-qualifier-list before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
ole2.h:11:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
windows.h:114,
from pngpriv.h:209,
from png.c:14:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:362:27: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:362:14: erro
r: conflicting types for 'VarUI1FromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:246:14: note
: previous declaration of 'VarUI1FromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:378:32: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:378:14: erro
r: conflicting types for 'VarI2FromUI1'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:255:14: note
: previous declaration of 'VarI2FromUI1' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:379:31: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:379:14: erro
r: conflicting types for 'VarI2FromI4'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:256:14: note
: previous declaration of 'VarI2FromI4' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:380:33: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:381:32: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:381:14: erro
r: conflicting types for 'VarI2FromR4'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:257:14: note
: previous declaration of 'VarI2FromR4' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:382:33: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:382:14: erro
r: conflicting types for 'VarI2FromR8'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:258:14: note
: previous declaration of 'VarI2FromR8' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:383:33: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:383:14: erro
r: conflicting types for 'VarI2FromDate'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:260:14: note
: previous declaration of 'VarI2FromDate' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:384:41: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:384:14: erro
r: conflicting types for 'VarI2FromBool'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:263:14: note
: previous declaration of 'VarI2FromBool' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:385:38: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:386:34: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:387:33: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:388:35: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:389:47: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:389:14: erro
r: conflicting types for 'VarI2FromStr'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:261:14: note
: previous declaration of 'VarI2FromStr' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:390:29: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:390:14: erro
r: conflicting types for 'VarI2FromCy'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:259:14: note
: previous declaration of 'VarI2FromCy' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:391:36: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:392:44: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:392:14: erro
r: conflicting types for 'VarI2FromDisp'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:262:14: note
: previous declaration of 'VarI2FromDisp' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:395:26: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:395:14: erro
r: conflicting types for 'VarI4FromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:265:14: note
: previous declaration of 'VarI4FromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:411:26: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:428:26: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:428:14: erro
r: conflicting types for 'VarR4FromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:274:14: note
: previous declaration of 'VarR4FromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:444:26: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:444:14: erro
r: conflicting types for 'VarR8FromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:283:14: note
: previous declaration of 'VarR8FromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:460:28: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:460:14: erro
r: conflicting types for 'VarDateFromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:293:14: note
: previous declaration of 'VarDateFromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:476:26: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:476:14: erro
r: conflicting types for 'VarCyFromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:302:14: note
: previous declaration of 'VarCyFromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:493:28: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:493:14: erro
r: conflicting types for 'VarBstrFromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:311:14: note
: previous declaration of 'VarBstrFromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:509:28: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:509:14: erro
r: conflicting types for 'VarBoolFromI2'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:320:14: note
: previous declaration of 'VarBoolFromI2' was here
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:525:26: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:541:27: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:558:27: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:573:27: erro
r: expected declaration specifiers or '...' before numeric constant
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/oleauto.h:590:27: erro
r: expected declaration specifiers or '...' before numeric constant
png.c: In function 'png_pow10':
png.c:1110:19: error: 'DBL_MIN_10_EXP' undeclared (first use in this function)
png.c:1110:19: note: each undeclared identifier is reported only once for each f
unction it appears in
png.c: In function 'png_ascii_from_fp':
png.c:1146:19: error: 'DBL_DIG' undeclared (first use in this function)
png.c:1162:17: error: 'DBL_MIN' undeclared (first use in this function)
png.c:1162:34: error: 'DBL_MAX' undeclared (first use in this function)
make[1]: *** [libpng15_la-png.lo] Error 1
make[1]: Leaving directory `c:/libpng-1.5.4'
make: *** [all] Error 2
- MusicallyInspired
- Posts: 1138
- Joined: Fri Mar 02, 2007 8:03 am
- Location: Manitoba, Canada
- Contact:
At first I used the ZIP but then tried the tar.gz. Same issues. The previous output code I posted above was from attempting to compile from the tar.gz.
Upon reflection, it doesn't seem to specifically say anything about libpng, but I assumed it was in reference to that because of all the PNG errors.
As in latest ScummVM source? I have. Checked it out with TortoiseSVN. It still wants libpng. Here's the last of the output where the errors take places:sev wrote:Use latest sources from git. libpng usage was removed brom BS25.
Code: Select all
LINK scummvm.exe
engines/sword25/libsword25.a(imgloader.o):g:\games\adventures\scumm\scummvm sour
ce/engines/sword25/gfx/image/imgloader.cpp:42: undefined reference to `Graphics:
:PNG::PNG()'
engines/sword25/libsword25.a(imgloader.o):g:\games\adventures\scumm\scummvm sour
ce/engines/sword25/gfx/image/imgloader.cpp:43: undefined reference to `Graphics:
:PNG::read(Common::SeekableReadStream*)'
engines/sword25/libsword25.a(imgloader.o):g:\games\adventures\scumm\scummvm sour
ce/engines/sword25/gfx/image/imgloader.cpp:47: undefined reference to `Graphics:
:PNG::getSurface(Graphics::PixelFormat const&)'
engines/sword25/libsword25.a(imgloader.o):g:\games\adventures\scumm\scummvm sour
ce/engines/sword25/gfx/image/imgloader.cpp:56: undefined reference to `Graphics:
:PNG::~PNG()'
collect2: ld returned 1 exit status
make: *** [scummvm.exe] Error 1