A question about linkage of ipp lib

A question about linkage of ipp lib

xiguiwang's picture

Hi, everybody!

I installed the intel ipp 5.1 in linux. I wrote code to call ipp function. it was compiled successfully. While linking the ipp lib, the ld complained.

I thought i installed it correctly because the perfsys in tools directory can run correctly.

I find a command from this forum as following:

$ gcc -o main main.c -I /opt/intel/ipp/5.0/em64t/include -L
/opt/intel/ipp/5.0/em64t/sharedlib -lippsem64t -lippcorem64t

i types it
"gcc -o main main.c -I /opt/intel/ipp/5.1/em64t/include -L
/opt/intel/ipp/5.1/em64t/sharedlib -lippsem64t -lippcorem64t"

then the lid complained:

"ld cannot find -llibippsem64t",but i find the libippsem64t.so in
directory /opt/intel/ipp/5.1/em64t/sharedlib.

I wonder what's the problem?

Any suggestion is appreciation, thanks.

xiguiwang

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
vladimir-dudnik (Intel)'s picture

Can you try to build any of IPP samples (and see what are the things in sample's Makefiles)?


Vladimir

Login to leave a comment.