NOTE: These are written with the assumption you have a copy of the current CVS source files on your hard drive somewhere.
Installation instructions1) Download and install the
VC++ .NET 2003 Toolkit. This contains the compiler, linker, etc etc. If you have trouble installing it, check that you have the .NET framework installed - it's available through Windows Update.
You must have Windows 2000 or XP to install it.
2) Download and install the
DirectX SDK.
3) Download and install the
Platform SDK (the core module); make sure you register the environment variables. (This is somewhere on the page that shows up after you download it.)
4) Download and extract
Cvtres1.exe to a temp directory, then move cvtres.exe into the "bin" directory of the toolkit.
5) Download
build.bat and place it in the "code" directory of fs2_open.
6) Open vcvars32.bat in a text editor, such as notepad. Replace the three SET lines at the beginning of the file with these:
Set PATH=C:\Program Files\Microsoft SDK\bin;%PATH%
Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;%PATH%
Set INCLUDE=C:\DXSDK\include;%INCLUDE%
Set INCLUDE=C:\Program Files\Microsoft SDK\include\;%INCLUDE%
Set INCLUDE=C:\Program Files\Microsoft SDK\include\win64\atl;%INCLUDE%
Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;%INCLUDE%
Set LIB=C:\DXSDK\lib;%LIB%
Set LIB=C:\Program Files\Microsoft SDK\lib;%LIB%
Set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;%LIB%
You may need to change the paths, but make sure all the above lines are included in some form.
8) Fire up the toolkit command line, browse to the code directory, and type in build.
Command line arguments for "build"- -no arguments- displays instructions
- "all" will do a full rebuild, everything will be compiled from scratch
- "file %filename%" compiles an individual file
- "link" only does linking
- "resource" only compiles resources
So if you updated irc.cpp, you'd want to enter
build file irc/irc.cpp
build link
Edits: minor changes, clarifications, etc etc.
Edit: Newest DirectX SDK for Windows 2000 (Link above updated)
Originally posted by WMCoolmon
I found a list of the DX9.0 SDK updates. Here's the latest one that supports Windows 2000 (December 2004):
Description on Microsoft Site
Direct Download (Skips Windows Validation)