Changes between Version 5 and Version 6 of AdminDepLibs


Ignore:
Timestamp:
Jul 30, 2018, 12:37:42 PM (6 years ago)
Author:
Kevin Reed
Comment:

Updated OpenSSL build instructions provided by Al Seippel

Legend:

Unmodified
Added
Removed
Modified
  • AdminDepLibs

    v5 v6  
    1 
    21= BOINC Dependencies on Windows =
    3 
    4 BOINC uses a number of third party libraries to handle things like communicating through proxies
    5 and SSL support.  Building these libraries with support for debugging can be tricky.
     2BOINC uses a number of third party libraries to handle things like communicating through proxies  and SSL support.  Building these libraries with support for debugging can be tricky.
    63
    74A number of dependency trees have been created for Visual Studio:
    85
    9 2005: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2005.git;a=summary boinc_depends_win_vs2005][[BR]]
    10 2008: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2008.git;a=summary boinc_depends_win_vs2008][[BR]]
    11 2010: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2010.git;a=summary boinc_depends_win_vs2010][[BR]]
    12 2013: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2013.git;a=summary boinc_depends_win_vs2013][[BR]]
     62005: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2005.git;a=summary boinc_depends_win_vs2005][[BR]] 2008: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2008.git;a=summary boinc_depends_win_vs2008][[BR]] 2010: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2010.git;a=summary boinc_depends_win_vs2010][[BR]] 2013: [http://boinc.berkeley.edu/gitweb/?p=boinc_depends_win_vs2013.git;a=summary boinc_depends_win_vs2013][[BR]]
    137
    14 These will need to be updated whenever new third party libraries need to be used or the Microsoft C-Runtime
    15 library has been updated.
     8These will need to be updated whenever new third party libraries need to be used or the Microsoft C-Runtime  library has been updated.
    169
    1710== Building Updated Dependency Libraries ==
    18 
    1911As of VS 2013 our libraries should be configured with the following settings for all builds.
    2012
    2113Compiler Settings:
     14
    2215 * Debug Information Format: Program Database (/Zi)
    2316 * Runtime Library: Multi-threaded DLL (/MD)
    2417
    2518Linker Settings:
     19
    2620 * Generated Debug Info: Yes (/DEBUG)
    2721 * Set Checksum: Yes (/RELEASE)
    2822
    29 These settings enable the use of the correct C-Runtime library for BOINC and the ability for a debugger
    30 to correctly load the right symbol file for a given executable or DLL from BOINC's
    31 [http://boinc.berkeley.edu/symstore/ symbol store].
     23These settings enable the use of the correct C-Runtime library for BOINC and the ability for a debugger  to correctly load the right symbol file for a given executable or DLL from BOINC's  [http://boinc.berkeley.edu/symstore/ symbol store].
    3224
    3325BOINC builds with four configurations:
     26
    3427 * Debug/x86
    3528 * Release/x86
     
    4033
    4134=== zLib ===
    42 
    4335Project URL: [http://www.zlib.net/]
    4436
    4537zLib keeps its Visual Studio project files under 'contrib/vstudio/vc11'.  Upgrade the project files to VS 2013.
    4638
    47 Build all four configurations and copy the dll, lib, and pdb file to the root of the zlib source directory so
    48 that libcurl can find it later.
     39Build all four configurations and copy the dll, lib, and pdb file to the root of the zlib source directory so  that libcurl can find it later.
    4940
    5041Project file diffs: [wiki:AdminDepLibszLib zLib]
    5142
    5243=== OpenSSL ===
     44Project URL: https://www.openssl.org/ Follow these build instructions:
    5345
    54 Project URL: [https://www.openssl.org/]
     461) Install perl from https://www.activestate.com/activeperl
    5547
    56 Follow build instructions in INSTALL.W32 for Release/x86 and Debug/x86 configurations.
     482) Open Visual Studio Command Prompt
    5749
    58 Follow build instructions in INSTALL.W64 for Release/x64 and Debug/x64 configurations.
     503) Build 32-bit Release and debug.  Roughly based on INSTALL.W32 from the main openssl directory:
    5951
    60 NOTE: You will need to install some form of perl if it is not already installed on your computer.  See: [http://www.activestate.com/activeperl ActivePerl].
     52  Release:
     53{{{
     54$ perl Configure VC-WIN32 no-asm --prefix=c:\openssl_W32_Release
     55$ ms\do_ms
     56$ nmake -f ms\ntdll.mak
     57$ nmake -f ms\ntdll.mak test
     58$ nmake -f ms\ntdll.mak install
     59}}}
     60  Debug:
     61{{{
     62$ perl Configure VC-WIN32 no-asm --prefix=c:\openssl_W32_Debug
     63$ ms\do_ms
     64$ nmake -f ms\ntdll.mak
     65$ nmake -f ms\ntdll.mak test
     66$ nmake -f ms\ntdll.mak install
     67}}}
    6168
    62 Be sure to add the 'no-asm' option to the 'Configure' script.  Modify the resulting ntdll.mak file based on
    63 the project diffs below.
     694) Open Visual Studio x64 Win64 Command Prompt (note this is different than the normal visual studio command prompt):
    6470
    65 Project file diffs: [wiki:AdminDepLibsOpenSSL OpenSSL]
     715) Build 64-bit Release and debug.  Instructions in INSTALL.W64 are not complete/detailed:
     72
     73  Release:
     74{{{
     75$ perl Configure VC-WIN64A --prefix=c:\openssl_W64_Release
     76$ ms\do_win64a
     77$ nmake -f ms\ntdll.mak
     78$ nmake -f ms\ntdll.mak test
     79$ nmake -f ms\ntdll.mak install
     80}}}
     81  Debug:
     82{{{
     83$ perl Configure debug-VC-WIN64A --prefix=c:\openssl_W64_Debug
     84$ ms\do_win64a
     85$ nmake -f ms\ntdll.mak
     86$ nmake -f ms\ntdll.mak test
     87$ nmake -f ms\ntdll.mak install
     88}}}
     89
     906) Copy resulting files to the appropriate boinc_dependencies directories
    6691
    6792=== Curl ===
    68 
    6993Project URL: [http://curl.haxx.se/libcurl/]
    7094
     
    7296
    7397Example (Release/x86):
     98
    7499{{{
    75100     set ZLIB_PATH=c:\src\sdks\zlib-1.2.8
     
    77102     nmake -f Makefile cfg=release-dll-ssl-dll-zlib-dll
    78103}}}
    79 
    80104Project file diffs: [wiki:AdminDepLibsCurl Curl]
    81105
    82106=== Sqlite ===
    83 
    84107(will be deprecated once we switch to concierge-based auto attach)
    85108
     
    90113Project file diffs: [wiki:AdminDepLibsSqlite Sqlite]
    91114
    92 
    93115=== !WxWidgets ===
    94 
    95116URL: http://www.wxwidgets.org/