Skip to content

Commit 769b72e

Browse files
author
timlinux
committed
Further notes on building on windows with MSVC Express
git-svn-id: http://svn.osgeo.org/qgis/trunk@7403 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c197008 commit 769b72e

File tree

1 file changed

+63
-7
lines changed

1 file changed

+63
-7
lines changed

INSTALL.t2t

+63-7
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,10 @@ Build the ALL_BUILD project. This will build all the QGIS binaries along with al
12971297

12981298
You will also either need to add all the dependency dlls to the QGIS install directory or add their respective directories to your PATH.
12991299

1300+
1301+
1302+
1303+
13001304
= Building under Windows using MSVC Express =
13011305

13021306
/!\ Note: Building under MSVC is still a work in progress. In particular the
@@ -1305,6 +1309,8 @@ following dont work yet: python, grass, postgis connections.
13051309
/!\ This section of the document is in draft form and is not ready to be used
13061310
yet.
13071311

1312+
Tim Sutton, 2007
1313+
13081314
== System preparation ==
13091315

13101316
I started with a clean XP install with Service Pack 2 and all patches applied.
@@ -1328,23 +1334,62 @@ before we begin:
13281334

13291335
== Install Visual Studio Express 2005 ==
13301336

1331-
Get this Visual Studio Express 2005 sp1 for C++ here:
1332-
1337+
First thing we need to get is MSVC Express from here:
13331338

13341339
http://msdn2.microsoft.com/en-us/express/aa975050.aspx
13351340

1336-
The above page is confusing as it has lots of other stuff on it - just scroll
1337-
down until you find a link labelled "Download Visual C++ 2005 Express SP1 �"
1341+
The page is really confusing so dont feel bad if you cant actually find the
1342+
download at first! There are six coloured blocks on the page for the various
1343+
studio family members (vb / c# / j# etc). Simply choose your language under
1344+
the 'select your language' combo under the yellow C++ block, and your download
1345+
will begin. Under internet explorer I had to disable popup blocking for the
1346+
download to be able to commence.
1347+
1348+
Once the setup commences you will be prompted with various options. Here is what
1349+
I chose :
1350+
1351+
* Send useage information to Microsoft (No)
1352+
* Install options:
1353+
* Graphical IDE (Yes)
1354+
* Microsoft MSDN Express Edition (No)
1355+
* Microsoft SQL Server Express Edition (No)
1356+
* Install to folder: C:\Program Files\Microsoft Visual Studio 8\ (default)
1357+
1358+
It will need to download around 90mb of installation files and reports
1359+
that the install will consume 554mb of disk space.
13381360

13391361

13401362
== Install Microsoft Platform SDK2 ==
13411363

1342-
Get the Microsoft Platform SDK2 from here:
1364+
Go to this page:
13431365

1366+
http://msdn2.microsoft.com/en-us/express/aa700755.aspx
13441367

1345-
http://
1368+
Start by using the link provided on the above page to download and install the
1369+
platform SDK2.
1370+
1371+
The actual SDK download page is once again a bit confusing since the links for
1372+
downloading are hidden amongst a bunch of other links. Basically look for these
1373+
three links with their associated 'Download' buttons and choose the correct
1374+
link for your platform:
1375+
1376+
```
1377+
PSDK-amd64.exe 1.2 MB Download
1378+
PSDK-ia64.exe 1.3 MB Download
1379+
PSDK-x86.exe 1.2 MB Download
1380+
```
1381+
1382+
1383+
When you install make sure to choose 'custom install'. These instructions
1384+
assume you are installing into the default path of:
1385+
1386+
```
1387+
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\
1388+
```
1389+
1390+
We will go for the minimal install that will give us a working environment,
1391+
so on the custom installation screen I made the following choices:
13461392

1347-
When you install make sure to check at least the following options:
13481393

13491394
```
13501395
Configuration Options
@@ -1386,6 +1431,17 @@ Debuggin Tools for Windows (Yes)
13861431

13871432
/!\ Note that you can always come back later to add extra bits if you like.
13881433

1434+
/!\ Note that installing the SDK requires validation with the
1435+
Microsoft Genuine Advantage application. Some people have a philosophical
1436+
objection to installing this software on their computers. If you are one
1437+
of them you should probably consider using the MINGW build instructions
1438+
described elsewhere in this document.
1439+
1440+
After the SDK is installed, follow the remaining notes on the page link
1441+
above to get your MSVC Express environment configured correctly.
1442+
1443+
1444+
13891445

13901446

13911447

0 commit comments

Comments
 (0)