Visible to Intel only — GUID: GUID-1B31F723-7EA1-454B-831C-927AE192E130
Visible to Intel only — GUID: GUID-1B31F723-7EA1-454B-831C-927AE192E130
Linking Your Microsoft* Visual Studio* Project with Intel® Cryptography Primitives Library
To link your Microsoft* Visual Studio* IDE project with Intel® Cryptography Primitives Library, follow these steps:
Set the Path for the Intel® Cryptography Primitives Library header and library files in Microsoft* Visual Studio* IDE:
Right click your project, then select Properties > Configuration Properties > VC++ Directories.
Select the <Edit…> option in drop down list of Include Directories, click the New Line button to add a new line and select the include subdirectory of the <install directory> folder. For example, the default Intel® Cryptography Primitives Library header file directory is located at <install directory>\include.
Select the <Edit…> option in drop down list of Library Directories, click the New Line button to add a new line and select the lib subdirectory of the <install directory> folder. For example, in the Component Directory Layout, the default Intel® Cryptography Primitives Library directory is located at <install directory>\lib{<arch>}, where <arch> is intel64. In the Unified Directory Layout, the default 64-bit directory is <install directory>\lib\. For more information on the directory layout, see Finding Intel® Cryptography Primitives Library on Your System.
Link the Intel® Cryptography Primitives Library into your project:
Right click your project, then select Properties > Configuration Properties > Linker > Input.
Select the <Edit…> option in drop down list of Additional Dependencies and enter the filename of the Intel® Cryptography Primitives Library you wish to use. For example, enter ippcp.lib for dynamic linking or ippcpmt.lib for static linking.
Optional: Add the Intel® Cryptography Primitives Library dynamic library to your executable environment (for DLL). You can add the path to the Intel® Cryptography Primitives Library dynamic-link library to your PATH environment variable permanently by following these steps:
Open the Start menu and click the Control Panel icon in the Windows System group.
Select Large icons in the View by: drop-down list, then find and click System.
Click Advanced system settings in the column on the left side of the window.
Select the Advanced tab and click the Environment Variables… button.
Select the Path variable in the list of user or system variables and click Edit….
Append the path to the contents of the Variable value field and click OK. Component Directory Layout path <install directory>\redist{<arch>}. Unified Directory Layout path for 64-bit: <install directory>\bin\.
Alternatively, to launch the Microsoft* Visual Studio* IDE from a preconfigured command line environment:
Run {{vars.bat}} from the directory <install directory>\env\ in a command window.
Start <Microsoft Visual Studio>\IDE\devenv.exe in the same command window.