Community
cancel
Showing results for 
Search instead for 
Did you mean: 
106 Views

Trying to link icpp to gcc

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
106 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
 

Sergey_K_Intel
Employee
106 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.