Developer Guide for Intel® Integrated Performance Primitives Cryptography 2018

Linking Your Microsoft* Visual Studio* Project with Intel IPP Cryptography

To link your Microsoft* Visual Studio* IDE project with Intel IPP Cryptography, follow these steps:

  1. Set the Path for the Intel IPP Cryptography header and library files in Microsoft* Visual Studio* IDE:
    1. Right click your project, then select Properties > Configuration Properties > VC++ Directories.
    2. 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 <ipp cryptography directory> folder.
      For example, the default Intel IPP Cryptography header file directory is located at C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_<version>\windows\ippcp\include.
    3. 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 <ipp cryptography directory> folder.
      For example, the default Intel IPP Cryptography directory is located at C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_<version>\windows\ippcp\lib\<arch>_win, where <arch> can be ia32 or intel64.
  2. Link the Intel IPP Cryptography library into your project:
    1. Right click your project, then select Properties > Configuration Properties > Linker > Input.
    2. Select the <Edit...> option in drop down list of Additional Dependencies and enter the filename of the Intel IPP Cryptography library you wish to use.
      For example, enter ippcp.lib for dynamic linking or ippcpmt.lib for static linking.
  3. Optional: Add the Intel IPP Cryptography dynamic library to your executable environment (for DLL)
    You can add the path to the Intel IPP Cryptography dynamic-link library to your PATH environment variable permanently by following these steps:
    1. Open the Start menu and click the Control Panel icon in the Windows System group.
    2. Select Large icons in the View by: drop-down list, then find and click System.
    3. Click Advanced system settings in the column on the left side of the window.
    4. Select the Advanced tab and click the Environment Variables... button.
    5. Select the Path variable in the list of user or system variables and click Edit....
    6. Append ;<install_dir>\redist\<arch>\ippcp\ to the contents of the Variable value field and click OK.
    Alternatively, to launch the Microsoft* Visual Studio* IDE from a preconfigured command line environment:
    1. Run ippcpvars.bat <arch> from the directory <ipp cryptography directory>\bin\ in a command window.
    2. Start <Microsoft Visual Studio>\IDE\devenv.exe in the same command window.