开发者

IPP linker errors on cygwin

I've built a program that uses mkl and ipp that runs on mac and linux. I'm now building that program for Windows using cygwin and gcc, and can't get it to link.

The errors I'm getting are:

Warning: .drectve -defaultlib:"uuid.lib" ' unrec开发者_运维知识库ognized ../../../bin/libMath.a(VectorUtility.cxx.o):VectorUtility.cxx:(.text+0x95): undefined reference to _ippGetLibVersion' ../../../bin/libMath.a(VectorUtility.cxx.o):VectorUtility.cxx:(.text+0x157): undefined reference to `_ippsWinHann_32f_I'

(and many more like that).

I'm using link path:

/opt/intel/IPP/6.1.2.041/ia32/lib

and linking to the following:

ippiemerged, ippimerged, ippmemerged, ippmmerged, ippsemerged, ippsmerged and ippcorel.

Can someone point me to what I'm doing wrong?


God IPP has to be the most annnoying thing to work out what libraries you need. Intel just do not give any info.

I use the following libraries:

"ippsmerged.lib"
"ippsemerged.lib"
"ippscemerged.lib"
"ippsrmerged.lib"
"ippsremerged.lib"
"ippcorel.lib"


I used to have the same problem with the evaluation version when linking statically. The solution was to link dynamically: static linking is not supported without commercial license.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜