Main Page » Compiling in Windows v41


Revision as of 15:19, 8 March 2007
Gcamp (Talk | contribs)
Installing Visual Studio
← Previous diff
Current revision
Deathstryker (Talk | contribs)
Configuring Visual Studio (Step 4) - removed part about deleting the dat file because it was causing problems.
Line 61: Line 61:
Library files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib Library files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
-Note: Alternatively, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express install location. Please make sure that you also delete the file "vccomponents.dat" located in the "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0" if it exists before restarting Visual C++ Express Edition.+Note: Alternatively, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express install location.
==Configuring Scorched 3D (Step 4)== ==Configuring Scorched 3D (Step 4)==

Current revision

Contents

Installing Visual Studio

Installing Visual Studio (Step 1)

Download and install MS Visual C++ 2005 from Microsoft

Choose either of these links, depending on your needs:

(Dial-Up)

Download web installer (recommended from Microsoft but should only be considered by dial-up users) 2.9 MB + additional download

When asked what to install, you only need to install the Graphical IDE to merely get Scorched to compile which should be about 70MB.

Image:Compile1.jpg

(Broadband)

Download full installer CD-Rom ISO image (recommended by me but not from Microsoft) 445MB

Download full installer CD-Rom IMG image (recommended by me but not from Microsoft) 445MB

Installing Visual Studio Service Pack (Step 2)

Note: The installation of SP1 is mandatory for Scorched3D to compile.

To install the service pack, goto this page :- Service Pack 1 Download Location

and choose to download and run :- VS80sp1-KB926748-X86-INTL.exe (43.5MB)

Installing Microsoft platform SDK (Step 3)

Choose either of these links, depending on your needs:

(Dial-Up)

Web installer download page scroll until you reach the bottom and search for your processor architecture. (again this should only be considered by dial-up users) 1.2MB + additional download

When asked what to install, make sure to choose a custom install and select all options EXCEPT for ones having to do with Documentation, Sample Code, or any 64 bit options (You can if you want but they aren't needed). Also, do NOT install Register Environment Variables.

Image:SDK.jpg

(Broadband)

Download full installer CD-Rom IMG image (again i recommend this) 409.9 MB

Configuring Visual Studio (Step 4)

Go the VC "Tools" menu item, then go to "Options", then select Projects & Solutions, then Select VC++ Directories

Add the paths to the appropriate subsection ("Show directories for:"):

Executable files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin

Include files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include

Library files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib

Note: Alternatively, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express install location.

Configuring Scorched 3D (Step 4)

This is only required the first time you load the scorched 3d solution.

1. Open the scorched project file, scorched.sln (you must download all CVS files first).).

2. Choose either "Debug" (there may be problems experienced when compiling using debug in VS 2005) or "Release" (should be considered the default option) from the drop down at the top of the page for the Solution Configuration.

Image:DebugRelease.jpg

3. Right click on the scorched icon in the Solution Explorer window on the left hand side and choose "Properties" from the pop-up menu.

Select "Debugging" and change the working directory to : ..\..

Image:ScorchedProps.jpg

Compiling Scorched 3D (Step 5)

1. Open the scorched project file, scorched.sln (you must download all CVS files first).

2. Build scorched3d (F7)

3. Run scorched3d (F5)

Acknowledgments

This tutorial was originally written by Brain Damage with changes and additions by Gavin and Deathstryker

Donate to Scorched3D Get it from CNET Download.com! 5 Stars