57 | | You can download and install [http://msdn2.microsoft.com/en-us/express/aa975050.aspx Visual C++ 2005 Express Edition] (part of Visual Studio 8 Express). After it downloaded and "installed", go to your local \Visual Studio 8\Microsoft Visual C++ 2005 Express Edition - ENU\ directory and click setup.exe, which will install VC++ 2005 Express Edition in earnest. |
58 | | |
59 | | Do not forget to update to [http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E&displaylang=en Visual Studio 2005 Service Pack 1] |
60 | | |
61 | | NOTE: When using Visual C++ 2005 Express Edition, you will also need to download and install the Windows Platform SDK. See this [http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx article] for further details. |
62 | | |
63 | | * [SourceCode Download the current BOINC source code]. |
64 | | * Download [http://www.wxwidgets.org/ wxWidgets]. wxWidgets 2.6.4 is no longer needed. |
65 | | * Install the wxWidgets source according to instructions on the web site. |
| 57 | Software Prerequisites: |
| 58 | * Download and install [http://msdn2.microsoft.com/en-us/express/aa975050.aspx Visual C++ 2005 Express Edition] (part of Visual Studio 8 Express). |
| 59 | * After it downloaded and "installed", go to your local \Visual Studio 8\Microsoft Visual C++ 2005 Express Edition - ENU\ directory and click setup.exe, which will install VC++ 2005 Express Edition in earnest. |
| 60 | |
| 61 | * Update to [http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E&displaylang=en Visual Studio Service 2005 Express Edition Service Pack 1] |
| 62 | * When using the full version of Visual Studio 2005, update to [http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E&displaylang=en Visual Studio 2005 Service Pack 1] |
| 63 | * When using Visual C++ 2005 Express Edition, you will also need to download and install [http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB Windows Platform Server 2003 R2 Platform SDK]. |
| 64 | * See this [http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx article] for further details. |
| 65 | |
| 66 | * [SourceCode Download the current BOINC source code] (520MB) |
| 67 | * Don't forget to download the [http://boinc.berkeley.edu/trac/browser/trunk/boinc_depends_win_vs2005 Additional Dependencies] (1.36GB) |
| 68 | * In Windows, Start->(Settings)->Control Panel->System, select Advanced; click Environment Variables. Under 'User variables' click New. Create a variable named 'wxwin' with value 'c:\wx' (or wherever you installed it). |
81 | | * Build wxWidgets. See [wxWidgets:Compiling_WxWidgets Compiling wxWidgets] for details. You'll need to compile both the Debug and Release targets. |
82 | | * When done, go File->Close Solution. |
83 | | * Then go File->Open Solution-><BOINCSRCDIR/>\win_build\boinc.sln and press Open. |
84 | | * Set up Visual Studio to use the correct platform. From the drop-down menu choose either Win32 (for 32 bit platforms) or x64 (for 64 bit platforms) and choose to make it a Release/Debug version. |
85 | | * Additional linker (Linker -> Input) dependencies for Visual C++ Express |
| 82 | * Start Visual Studio 2005 -> Visual C++ 2005 (Express Edition) |
| 83 | * Go File->Open Solution-><BOINCSRCDIR/>\win_build\boinc.sln and click Open. |
| 84 | * Set up Visual Studio to use the correct platform. |
| 85 | * From the drop-down menu choose either Win32 (for 32 bit platforms) or x64 (for 64 bit platforms) and choose to make it a Release/Debug version. |
| 86 | * Additional linker dependencies for Visual C++ Express (right click the project name, properties, Linker, Input, double click the ... box on Additional Dependencies and add those missing). |
106 | | You can download and install [http://www.microsoft.com/express/download/default.aspx C++ 2008 Express Edition] (part of Visual Studio 9 Express). Update it to [http://www.microsoft.com/downloads/details.aspx?FamilyId=F3FBB04E-92C2-4701-B4BA-92E26E408569&displaylang=en Service Pack 1]. When using the full version of Visual Studio 2008, use [http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E this link] to update to Service Pack 1. |
107 | | |
108 | | To be backward compatible with VS 2005 versions and be able to build BOINC for older than Windows XP versions, you will need to download and install the [http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB Windows Platform Server 2003 R2 Platform SDK]. Next update it with the [http://www.microsoft.com/express/download/default.aspx MSDN Express Library] for the Express Edition, or the [http://www.microsoft.com/downloads/details.aspx?FamilyID=7bbe5eda-5062-4ebb-83c7-d3c5ff92a373&DisplayLang=en MSDN Library for Visual Studio 2008 SP1] for the full version (DVD ISO file). |
109 | | |
110 | | Next download and install [http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en the Microsoft Visual C++ 2008 Redistributable Package]. When done, update that to [http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en Service Pack 1] (Watch out, it uses the same file name as the original one!) |
| 109 | Software Prerequisites: |
| 110 | * Download and install [http://www.microsoft.com/express/download/default.aspx C++ 2008 Express Edition] (part of Visual Studio 9 Express). |
| 111 | * Update it to [http://www.microsoft.com/downloads/details.aspx?FamilyId=F3FBB04E-92C2-4701-B4BA-92E26E408569&displaylang=en Service Pack 1]. |
| 112 | * When using the full version of Visual Studio 2008, use [http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E this link] to update to Service Pack 1. |
| 113 | |
| 114 | To be backward compatible with VS 2005 versions and be able to build BOINC for older than Windows XP versions, you will need to download and install: |
| 115 | * The [http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB Windows Platform Server 2003 R2 Platform SDK]. |
| 116 | * Update it with the [http://www.microsoft.com/express/download/default.aspx MSDN Express Library] for the Express Edition. |
| 117 | * Use the [http://www.microsoft.com/downloads/details.aspx?FamilyID=7bbe5eda-5062-4ebb-83c7-d3c5ff92a373&DisplayLang=en MSDN Library for Visual Studio 2008 SP1] for the full version (DVD ISO file). |
| 118 | |
| 119 | * Download and install [http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en the Microsoft Visual C++ 2008 Redistributable Package]. |
| 120 | * Update that to [http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en Service Pack 1] (Watch out, it uses the same file name as the original one!) |
114 | | * [SourceCode Download the current BOINC source code]. |
115 | | * Download [http://www.wxwidgets.org/ wxWidgets]. wxWidgets 2.6.4 is no longer needed. |
116 | | * Install the wxWidgets source according to instructions on the web site. |
| 124 | * [SourceCode Download the current BOINC source code] (520MB) |
| 125 | * Don't forget to download the [http://boinc.berkeley.edu/trac/browser/trunk/boinc_depends_win_vs2005 Additional Dependencies] (1.36GB) |
| 126 | * In Windows, Start->(Settings)->Control Panel->System, select Advanced; click Environment Variables. Under 'User variables' click New. Create a variable named 'wxwin' with value 'c:\wx' (or wherever you installed it). |
129 | | WXWINPRODX64=C:\Src\SDKs\wx26x64 |
130 | | }}} |
131 | | |
132 | | * Build wxWidgets. See [wxWidgets:Compiling_WxWidgets Compiling wxWidgets] for details. You'll need to compile both the Debug and Release targets. |
133 | | * When done, go File->Close Solution. |
134 | | * Then go File->Open Solution-><BOINCSRCDIR/>\win_build\boinc.sln and press Open. |
135 | | * Set up Visual Studio to use the correct platform. From the drop-down menu choose either Win32 (for 32 bit platforms) or x64 (for 64 bit platforms) and choose to make it a Release/Debug version. |
136 | | * For Visual C++ 2008 Express Edition it is necessary to include preprocessor macros to direct the compiler to build for the correct Windows version (this was apparently introduced for Windows Vista). E.g. in Project -> <project_name> Properties, I needed to add these entries to Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions: _WIN32_WINNT=0x0501 and NTDDI_VERSION=0x05010200 -- see sdkddkver.h in the SDK include directory for macro values. |
137 | | * Additional linker (Linker -> Input) dependencies for Visual C++ Express |
| 137 | WXWINX64=C:\Src\SDKs\wx28x64 |
| 138 | }}} |
| 139 | |
| 140 | * Start Visual Studio 2008 -> Visual C++ 2008 (Express Edition) |
| 141 | * Go File->Open Solution-><BOINCSRCDIR/>\win_build\boinc.sln and click Open. |
| 142 | * Set up Visual Studio to use the correct platform. From the drop-down menu choose either Win32 (for 32 bit platforms) or x64 (for 64 bit platforms) and choose to make it a Release/Debug version. |
| 143 | * Additional linker dependencies for Visual C++ Express (right click the project name, properties, Librarian, Input, double click the ... box on Additional Dependencies and add those missing). |