187 | | For this, we need to download the source code for [http://www.openssl.org/source/openssl-0.9.8k.tar.gz OpenSSL], [http://www.zlib.net/zlib-1.2.3.tar.gz Zlib] and [http://curl.haxx.se/download/curl-7.19.4.tar.gz libCurl] (direct links to latest stable versions. If a link doesn't work, go to its homepage and choose a mirror). [[br]] |
188 | | '''NOTE:''' Do not use the OpenSSL, zlib1 and libCurl versions from the additional_dependency_VS2005 download, these are prepped for VS2005 only and will not work in BOINC compiled with VS2008! You will need to build these files by hand for VS2008 compatibility. |
189 | | |
190 | | Unzip the files to easy to reach directories. In the next examples I'll use c:\openssl\, c:\zlib\ and c:\curl\ as the directories of choice. Especially for the OpenSSL directory, make sure you have '''no''' spaces anywhere in the path, use hyphens or underscores if need be or else the command line build will break. For the write up I am assuming to use the 32bit option only. If you want to use the 64bit option, make sure you substitute Win32 with Win64 wherever mentioned. |
| 187 | Download the source code for [[br]] |
| 188 | * [http://www.openssl.org/source/openssl-0.9.8k.tar.gz OpenSSL];[[br]] |
| 189 | * [http://www.zlib.net/zlib-1.2.3.tar.gz Zlib];[[br]] |
| 190 | * [http://curl.haxx.se/download/curl-7.19.4.tar.gz libCurl];[[br]] |
| 191 | * [http://www.sqlite.org/sqlite-amalgamation-3_6_14_2.zip Sqlite3][[br]] |
| 192 | |
| 193 | '''WARNING:''' Do not use the OpenSSL, zlib1 and libCurl versions from the additional_dependency_VS2005 download, these are prepped for VS2005 only and will not work in BOINC compiled with VS2008! You will need to build these files by hand for VS2008 compatibility. |
| 194 | |
| 195 | Unzip the files to easy to reach directories. In the next examples I'll use c:\openssl\, c:\zlib\, c:\curl\ and c:\sqlite3 as the directories of choice. Especially for the OpenSSL directory, make sure you have '''no''' spaces anywhere in the path, use hyphens or underscores if need be or else the command line build will break. For the write up I am assuming to use the 32bit option only. If you want to use the 64bit option, make sure you substitute Win32 with Win64 wherever mentioned. |
267 | | The output files will be in the c:\openssl\out32dll\ directory, you will need the libeay32.dll and ssleay32.dll files. |
| 272 | The output files will be in the c:\openssl\out32dll\ directory, you will need the libeay32.dll and ssleay32.dll files. These should be copied to your BOINC binary directory. |
| 273 | |
| 274 | ==== Sqlite3 ==== |
| 275 | |
| 276 | Open the zip file for sqlite3 that you downloaded, but do not unzip the contents yet. |
| 277 | |
| 278 | Start Visual Studio 2008. [[br]] |
| 279 | * File->New->Project [[br]] |
| 280 | * Choose CLR plus Class Library. [[br]] |
| 281 | * For Name fill in '''sqlite3''' [[br]] |
| 282 | * For Location point to a new directory called sqlite3. Do '''not''' use the original directory. [[br]] |
| 283 | * Uncheck "Create directory for solution". [[br]] |
| 284 | * Click OK.[[br]] |
| 285 | |
| 286 | This will create the solution files (sqlite3.sln, sqlite3.suo, and sqlite3.ncb) and project files (sqlite3.vcproj, etc).[[br]] |
| 287 | Now go to back the opened zip file for sqlite3 and extract the files in it to the new sqlite3 directory that was made by VS2008, the one containing the solution files. Click Yes to overwrite files. |
| 288 | |
| 289 | Visual Studio will tell you that the source code files have changed and should it reload them? Click Yes to all. |
| 290 | In the Resource Files project there is a file called ''sqlite3.cpp'', right click on it and choose Remove. Click Remove again on the warning screen. |
| 291 | |
| 292 | * From the menu bar, make sure your Solution Configuration Shows Release and the platform you are building for (32bit or 64bit)[[br]] |
| 293 | * Now click Build->Build Solution. [[br]] |
| 294 | |
| 295 | That's it. The sqlite3.dll file can be found in your \sqlite3\Release\ directory. It should be copied to your BOINC binary directory. |