PDA

View Full Version : Shadow Warrior Source won't compile.


oscollector
04-02-2006, 09:29 PM
I'm trying to compile the shadow warrior 1.2 source.
I'm using Watcom IDE compiler (version 1.3) as the readme said to do.

When I go "Make" like the instructions say to do, The compiling fails and I get this as the log:

cd C:\shadowwarriorsource\source
wmake -f "C:\shadowwarriorsource\source\sw.mk" -h -e -a "C:\shadowwarriorsource\source\ACTOR.obj"
wcc386 ACTOR.C -i=C:\WATCOM\h -w0 -e25 -zq -otexan -6r -bt=dos -mf
sounds.h(102): Error! E1034: Symbol 'AMB_INFO' already defined
sounds.h(102): Note! N2002: 'AMB_INFO' defined in: sounds.h(66)
sounds.h(102): Error! E1034: Symbol 'AMB_INFOp' already defined
sounds.h(102): Note! N2002: 'AMB_INFOp' defined in: sounds.h(66)
sounds.h(131): Error! E1034: Symbol 'VOC_INFO' already defined
sounds.h(131): Note! N2002: 'VOC_INFO' defined in: sounds.h(62)
sounds.h(131): Error! E1034: Symbol 'VOC_INFOp' already defined
sounds.h(131): Note! N2002: 'VOC_INFOp' defined in: sounds.h(62)
sounds.h(159): Error! E1034: Symbol 'VOC3D_INFO' already defined
sounds.h(159): Note! N2002: 'VOC3D_INFO' defined in: sounds.h(64)
sounds.h(159): Error! E1034: Symbol 'VOC3D_INFOp' already defined
sounds.h(159): Note! N2002: 'VOC3D_INFOp' defined in: sounds.h(64)
parent.h(52): Error! E1034: Symbol 'OrgTile' already defined
parent.h(52): Note! N2002: 'OrgTile' defined in: parent.h(39)
parent.h(52): Error! E1034: Symbol 'OrgTileP' already defined
parent.h(52): Note! N2002: 'OrgTileP' defined in: parent.h(39)
parent.h(57): Error! E1034: Symbol 'OrgTileList' already defined
parent.h(57): Note! N2002: 'OrgTileList' defined in: parent.h(41)
parent.h(57): Error! E1034: Symbol 'OrgTileListP' already defined
parent.h(57): Note! N2002: 'OrgTileListP' defined in: parent.h(41)
Error(E42): Last command making (C:\shadowwarriorsource\source\ACTOR.obj) returned a bad status
Error(E02): Make execution terminated
Execution complete
Why is this happening?

I get the same problem using version 1.4 of the Watcom compiler.

Escorter
05-27-2006, 01:25 PM
I have exactly the same error log with Open Watcom 1.5. Can somebody help?

Xerxes
05-27-2006, 01:44 PM
Not sure what a symbol is...

If it's a macro(#define), you could put an "#undef whatever" before every #define that gets an error?

Escorter
05-27-2006, 02:35 PM
I tried that, but it doesn't solved the problem...

jbailey
05-29-2006, 11:34 PM
Here's the altered header files for the original shadow warrior 1.2 sources,
(see attachment), I successfully compiled and ran the sw.exe under
openwatcom 1.6 beta.

Note:
I also ran cli2nop on the executable (cli2nop -p sw.exe) it should say '47 occurrances'.
I ran vdm sound to get the game to run. (highlight sw.exe, right-click, select
'run with vdms' go with defaults)

I'm running windows xp pro

Have Fun!

:D

oscollector
06-06-2006, 07:39 PM
Awesome. It works now :)

jbailey
06-06-2006, 07:47 PM
Good! I'm glad it's working!

:)