Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Linking to IPP library in Linux

Deleted_U_Intel
Employee
305 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
Black Belt
306 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.
Reply