Building EDuke32 on Windows: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Plugwash (talk | contribs)
New page: Instructions for building eduke32 on windows with open watcom. note: I have started writing theese instructions but have not yet had a succesfull build if you see any errors or have anyth...
 
Plugwash (talk | contribs)
ok seems watcom is a non starter, lets try msvc instead
Line 1: Line 1:
Instructions for building eduke32 on windows with open watcom.
building eduke32 on windows with microsoft visual c++ (incomplete)


note: I have started writing theese instructions but have not yet had a succesfull build if you see any errors or have anything to add please do so -- [[User:Plugwash|Plugwash]] 10:53, 22 March 2008 (PDT)
get visual c++ express edition from http://www.microsoft.com/express/download/ and install it


download open watcom from http://openwatcom.mirrors.skynet.be/pub/ftp.openwatcom.org/open-watcom-c-win32-1.7a.exe and install it.
unfortunately ml.exe is missing from the express edition, lukilly there is a copy in the freely downloadable windows server 2003 ddk which can be obtained from http://www.microsoft.com/whdc/devtools/ddk/default.mspx . Install this and copy ml.exe to your visual studio bin directory
download the eduke32 source from http://wiki.eduke32.com/stuff/ and extract it.


open a command promt
windows.h also seems to be missing, again this can be obtained from the windows server 2003 ddk , i used the win2K version


set the path appropriately so the watcom tools are on and any other tools with conflicting names are off e.g.
start the visual studio 2005 command prompt
path=C:\WINDOWS\system32;C:\WINDOWS;C:\WATCOM\binnt;C:\WATCOM\BINW


change to the build subdirectory of the eduke source tree e.g.
clean up some environment variables that the vs command prompt forgets to clean
c:
cd \eduke32_src_20080206\build


setup other environment variables needed by watcom
PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
set EDPATH=c:\watcom\eddata
set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE
set INCLUDE=C:\WATCOM\H;C:\WATCOM\H\NT
 
set OS=Windows_NT
change to the build subdirectory of your eduke32 tree and run
set WATCOM=c:\watcom
nmake -f Makefile.msvc

Revision as of 13:36, 22 March 2008

building eduke32 on windows with microsoft visual c++ (incomplete)

get visual c++ express edition from http://www.microsoft.com/express/download/ and install it

unfortunately ml.exe is missing from the express edition, lukilly there is a copy in the freely downloadable windows server 2003 ddk which can be obtained from http://www.microsoft.com/whdc/devtools/ddk/default.mspx . Install this and copy ml.exe to your visual studio bin directory

windows.h also seems to be missing, again this can be obtained from the windows server 2003 ddk , i used the win2K version

start the visual studio 2005 command prompt

clean up some environment variables that the vs command prompt forgets to clean

PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE

change to the build subdirectory of your eduke32 tree and run nmake -f Makefile.msvc