Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Shadow Warrior Source Code
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 04-02-2006, 08:29 PM   #1
oscollector
Arrow Shadow Warrior Source won't compile.
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:
Quote:
Originally Posted by IDE Compiler Report
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.
oscollector is offline  
Old 05-27-2006, 12:25 PM   #2
Escorter
Guest
Re: Shadow Warrior Source won't compile.
I have exactly the same error log with Open Watcom 1.5. Can somebody help?
 
Old 05-27-2006, 12:44 PM   #3
Xerxes
Re: Shadow Warrior Source won't compile.
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?
Xerxes is offline  
Old 05-27-2006, 01:35 PM   #4
Escorter
Guest
Re: Shadow Warrior Source won't compile.
I tried that, but it doesn't solved the problem...
Last edited by Escorter; 05-27-2006 at 02:08 PM.
 
Old 05-29-2006, 10:34 PM   #5
jbailey

jbailey's Avatar
Re: Shadow Warrior Source won't compile.
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!

Attached Files
File Type: zip hfiles.zip (35.2 KB, 28 views)
__________________
Download Winrott here:

http://www.riseofthetriad.dk/DL_GlROTT.htm

jbailey
jbailey is offline  
Old 06-06-2006, 06:39 PM   #6
oscollector
Re: Shadow Warrior Source won't compile.
Awesome. It works now
oscollector is offline  
Old 06-06-2006, 06:47 PM   #7
jbailey

jbailey's Avatar
Re: Shadow Warrior Source won't compile.
Good! I'm glad it's working!

__________________
Download Winrott here:

http://www.riseofthetriad.dk/DL_GlROTT.htm

jbailey
jbailey is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:30 PM.

Page generated in 0.14744401 seconds (100.00% PHP - 0% MySQL) with 19 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.