Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Trying to link icpp to gcc

magalhaes_duarte_cor
683 Views

I'm getting the error 

fatal error: ippcp.h: No such file or directory

When trying to link the library to gcc when running the example https://software.intel.com/en-us/ipp-crypto-reference-2019-signing-verification-using-the-elliptic-curve-cryptography-functions-over-a-prime-finite-field.

I'm trying to compile using gcc with the following command:

sudo g++ signverifyV2.cpp -L/opt/intel/compilers_and_libraries_2019.3.199/linux/ippcp/lib/intel64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64 -lirc -lsvml -limf -lippcp

Any help would be appreciated!

0 Kudos
2 Replies
Abhinav_S_Intel
Moderator
683 Views

Your error seems to be related to Intel IPP crypto library. First step would be verify the installation of IPP crypto. Crypto is a separate package from the IPP main package.

If it's not installed you can get the package at GitHub: : https://github.com/intel/ipp-crypto
 

0 Kudos
Sergey_K_Intel
Employee
683 Views

This is a compilation error, not linking issue. It means that compiler, processing the line "#include <ippcp.h>", could not find the required file. The issue is treated using "-I<additional include files search directory>" (capital "i") compiler command line option. Of course, you should have "ippcp.h" somewhere on your system.

0 Kudos
Reply