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

Linking to IPP library in Linux

Deleted_U_Intel
Employee
1,037 Views
Hello, I'm having a little problem compiling with Intel's IPP librarty while using the Intel Linux compiler. I do icc test.cc -L/opt/intel/ipp/sharedlib -I/opt/intel/ipp/include -o test The .h seems to be found OK. It recognizes the special IPP structures. But, when an actual IPP function is used it has an error. What should I do??
0 Kudos
1 Reply
TimP
Honored Contributor III
1,038 Views
I expect you need also a -l option. If your library is in sharedlib/libipp.a, for example, append -l ipp. The linker is standard gnu ld, it has no idea what libraries you want from the library search path.
0 Kudos
Reply