Add a variable named 'INCLUDE' with a value of C:\Program Files\Microsoft SDK\include c:\Program Files\Microsoft Visual Studio. The PATH variable is a list of directories Windows will look in for any commands you enter that it can't find in the current directory. If the PATH variable already has a value, just add a semicolon to the end and then type the above text. If not, replace these paths with the paths you installed to). NET 2003\Common7\IDE (these examples assume you installed everything to the default path. NET 2003\Vc7\bin C:\Program Files\Microsoft Visual Studio. In the variable value box, enter the following: C:\Program Files\Microsoft Visual Studio. Under User Variables, find 'PATH', select it and press the 'Edit' button (if PATH is not present, press the 'New' button). Select the 'Advanced' tab, then the 'Environment Variables' button. Go to the Control Panel and open the System icon. Next, you'll need to set up the environment variables needed by the compiler. Once on the catalog page, select 'Build environment' under both Core SDK and Microsoft Data Access Components, then click 'Start Installation'. Go to SDK Update, then click Downloads->Install to get to the catalog (don't click on any of the SDK's at the left unless you want that entire SDK, which can be quite large). Install the Windows Core and Data Access SDK's. NET SDK) if you're short on disk space.Ĭ. NET SDK' directory (by default C:\Program Files\Microsoft. Once it's installed, you can delete setup.exe.
If you're short on disk space (or just don't want them), you don't need to install the Samples. After installing, you can delete dotnetfx.exe.ī.
Step 1: Download and install the compiler and build environmentĪ. In order to install and use the compiler, you need Windows 2000 or Windows XP and a minimum of 600-700MB hard disk space available. It will allow you to build the SDK without modification, including the VGUI code. This compiler is identical to the one included in Micrsoft Visual C++. This tutorial is intended to get you started building the Half-Life dlls using the Microsoft command line compiler, available free from Microsoft's website. Wavelength - Half-Life - Coding - Articlesĭescription: with the Microsoft Command-Line Compilerīuilding the Half-Life DLLs with the Microsoft Command-Line Compiler