Linking to IPP library in Linux

Linking to IPP library in Linux


I'm having a little problem compiling with Intel's IPP librarty while using the Intel Linux compiler. I do

icc -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??

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today