- Unified Automation SDK in source version
- Perl: http://www.activestate.com/activeperl
- Openssl: http://www.openssl.org/source/
- Visual Studio (all versions)
The delivered third-party files (libxml2 and openssl) are just an example of how to use these files in combination with the Unified Automation SDK. These files are not part of the Unified Automation SDK. They are a snapshot of the respective library at the point in time when the dedicated UA SDK was released. It is strongly recommended that you build the third-party files yourself to get the latest updates of these open source libraries.
When compiling OpenSSL on your own you must ensure that you do not use any patent-registered algorithms. To build the Unified Automation SDK with new or updated third-party files, you must adapt the SDK to point to the location of the new compiled third-party files.
Work Order Instructions:
- download and install Perl
- download the source of latest stable release of OpenSSL
- build the third party library (32bit or 64bit)
Note: use the same Visual Studio or compiler as for the SDK compilation - copy the third party files to the ThirdParty folder within the SDK folder structure
Note: use the suggestes subfolder names: "win32" and "win64" (see section Third-Party components - Important note for Windows) - use CMake to generate new Visual Studio solution file for the SDK
- recompile solution
- Start your Visual Studio Command Prompt and locate the unzipped Openssl folder.
- Configure the Makefiles without patent-registered algorithms:
Code: Select all
perl Configure no-idea no-mdc2 no-ntt no-rc5 VC-WIN32
Code: Select all
ms\do_ms.bat
Code: Select all
nmake -f ms\ntdll.mak (or "nmake -f ms\nt.mak" for static libraries)
- Start your Visual Studio Command Prompt and locate the unzipped Openssl folder.
- Configure the Makefiles without patent-registered algorithms:
Code: Select all
perl Configure no-idea no-mdc2 no-ntt no-rc5 VC-WIN32
Code: Select all
perl util\mk1mf.pl debug dll no-asm VC-WIN32 >ms\ntdll.mak
Code: Select all
ms\do_ms.bat
- The first file is called "libeay32.def" located in the ms folder. Add a single "d" like here:
Code: Select all
LIBRARY LIBEAY32d
Code: Select all
CRYPTO=libeay32d
Code: Select all
nmake -f ms\ntdll.mak (or "nmake -f ms\nt.mak" for static libraries)
- Start your Visual Studio x64 Win64 Command Prompt and locate the unzipped Openssl folder.
- Configure the Makefiles without patent-registered algorithms:
Code: Select all
perl Configure no-idea no-mdc2 no-ntt no-rc5 VC-WIN64A
Code: Select all
ms\do_win64a.bat
Code: Select all
nmake -f ms\ntdll.mak (or "nmake -f ms\nt.mak" for static libraries)
- Start your Visual Studio x64 Win64 Command Prompt and locate the unzipped Openssl folder.
- Configure the Makefiles without patent-registered algorithms:
Code: Select all
perl Configure no-idea no-mdc2 no-ntt no-rc5 VC-WIN64A
Code: Select all
perl util\mk1mf.pl debug dll no-asm VC-WIN64A >ms\ntdll.mak
Code: Select all
ms\do_win64a.bat
- The first file is called "libeay32.def" located in the ms folder. Add a single "d" like here:
Code: Select all
LIBRARY LIBEAY32d
Code: Select all
CRYPTO=libeay32d
Code: Select all
nmake -f ms\ntdll.mak (or "nmake -f ms\nt.mak" for static libraries)