Project

General

Profile

Installing MSVC » History » Version 1

Pieter Libin, 10/29/2009 01:58 PM

1 1 Pieter Libin
h1. Installing MSVC 2005
2
3
{{toc}}
4
5
6
h2. General 
7
8
We suggest to either use MSVC 2005 Standard/Professional/Team Edition, or the free Express edition.
9
10
Microsoft has improved MSVC 2005 by means of a service pack; I strongly recommend you upgrade your compiler with this service pack (SP1). This service pack is available both for the full version and the Express Edition at http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx It is a good idea to drink a cup of coffee while the service pack is installing.
11
12
If you are using Vista, MSVC will insist that you also install the SP1 Upgrade for Vista (an additional upgrade to SP1).
13
14
If you choose to use the Express edition, you have to perform some extra steps outlined below.
15
16
At the time of writing, released Boost versions did not support MSVC2008, so if you would decide to use this compiler, you're on your own for now.
17
18
19
h2. Installing MSVC2005, Express Edition 
20
21
Steps to install MSVC C++ EE on your computer:
22
* Go to http://www.microsoft.com/express/2005/ and download the compiler
23
* Install the platform SDK by executing at least steps 1 through 3 of this document: http://www.microsoft.com/express/2005/platformsdk/default.aspx (hint: in step 3, you can find the paths in Tools->Options->Projects and Solutions->VC++ Directories)
24
* Edit c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat. Update the PATH, INCLUDE and LIB environments with the same directories as in step 3 of the previous document.
25
26
You do not need to install the Platform SDK if you use the Standard/Professional/Team Edition of MS Visual Studio.
27
28
Do not forget to install service pack 1 now (follow the link in the introduction)
29
30
31
h2. Wt and MSVC2008, Express Edition 
32
33
At the end of 2007, Microsoft released a new version of their compilers: MSVC 2008, aka version 9.0. This compiler includes the platform SDK, so there is no longer a need to download that part separately. Download the compiler from http://www.microsoft.com/express/
34
35
Current versions of Wt compile with MSVC2008, but boost versions prior to 1.35 will not work.