Compiling the Viewer (MSVS2008)

In current release branches, only MSVS 2005 is officially supported, however other versions of Visual Studio may work. If you run into problems, members of the SLDev mailing list will generally help. It's good form to update the wiki with what you learn, or file JIRAs against source deficiencies. If this is your first build, consider referring back to the list of supported compilers on Microsoft Windows.

Warning!

Check on the status of VWR-9541 ("Included boost libraries prevent VC90 from compiling and linking the second life source correctly") before choosing this path.


Download Express (optional)

If you do not already own Visual Studio, then you may download Microsoft's free IDE and compiler editions.

Click here to download Visual C++ Express - currently VS2008 only


The link:

Visual C++ 2005 Express http://download.microsoft.com/download/8/3/a/83aad8f9-38ba-4503-b3cd-ba28c360c27b/ENU/vcsetup.exe


is still active.

If you need 2005 you may still download. Nicky Perian 18:53, 15 March 2010 (UTC)

And for Windows Vista the link: Visual Studio 2005 Service Pack 1 Update for Windows Vista http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&displayLang=en

Use Internet Explorer to register VC++ Express. Firefox and Seamonkey fail to produce the registration key page.--Nicky Perian 20:55, 22 March 2010 (UTC)

Install Microsoft Platform & DirectX SDKs

Download and install:

If you have previously installed an older version of the DirectX 9.0 SDK, remove it first (from Control Panel -> Add or Remove Programs) before installing this version. Installing the new SDK "on top" of an older version may cause problems. Upon installing DirectX, it is sufficient to install the include and libraries part. Other DX development tools are not necessary.

Setup the project globals

Screenshots