Changes between Version 41 and Version 42 of BuildingOnWindows


Ignore:
Timestamp:
01/06/11 14:05:27 (13 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v41 v42  
    5353= Building pkcs11-helper =
    5454
    55 Download latest release of ''pkcs11-helper'' from http://www.opensc-project.org and extract it somewhere.
     55Download latest release of ''pkcs11-helper'' from http://www.opensc-project.org and extract it somewhere. The install process for Visual Studio is described in the ''INSTALL'' file.
     56
     57To build ''pkcs11-helper'', do the following:
     58
     59 * Go to ''pkcs11-helper-<version>/lib''
     60 * Copy ''<openssl-install-directory>/lib/libeay32.lib'' to that directory - this is required by the linker
     61 * Run ''nmake -f Makefile.w32-vc OPENSSL=1 OPENSSL_HOME=<path-to-openssl-sources>''
     62
     63In theory this should do it. If you need to rebuild, clean up first with
     64
     65 $ nmake -f Makefile.w32-vc clean
     66
     67and then repeat the above steps. Unless you're using very latest development code, you probably get this error message during build:
     68
     69 pkcs11h-threading.c(477) : error C2036: 'void *' : unknown size
     70
     71If so, edit that file as suggested [http://thread.gmane.org/gmane.comp.encryption.opensc.devel/8381 here]. After this build should succeed, as long as ''libeay32.lib'' is present in the build directory.
    5672
    5773= Building OpenSSL =