opencv无法在启用ipp支持的情况下进行构建 [英] opencv fails to build with ipp support enabled
问题描述
在使用ip支持构建opencv时遇到一些问题.我在debian squeeze 32bit和ip的最新intel版本(完整的composer
软件包)上使用cmake-gui.
I am having some problems getting opencv to build with ipp support. I am using cmake-gui on debian squeeze 32bit and the most recent intel release of ipp (the complete composer
package).
我认为我已经正确配置了cmake.在启用ipp的情况下进行构建时,构建失败并显示以下错误:
I think I have cmake configured correctly. When I build with ipp enabled, the build fails with this error:
/usr/bin/ld: /opt/intel/ipp/lib/ia32/libippcv_l.a(ippcv00242as.o): relocation R_386_GOTOFF against undefined symbol `ippJumpIndexForMergedLibs' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
在我看来,这似乎不是配置类型错误:-)
This does not seem like a configuration type error to me :-)
关于如何解决此问题的任何想法?
Any idea on how to resolve this?
谢谢
-安德烈斯
推荐答案
我解决了此问题,并认为我应该回答自己的问题,以防其他人绊倒.
I resolved this issue and thought I should answer my own question just in case someone else trips across this.
显然,当您指定共享库构建时,opencv库将无法正确构建.使用cmake-gui时,请勿设置此选项:
Apparently, the opencv lib will not build properly when you specify a shared lib build. When using cmake-gui, you must NOT set this option:
BUILD_SHARED_LIBS
通过禁用此选项,可以很好地构建和安装opencv lib
By disabling this option, the opencv lib built and installed just fine
这篇关于opencv无法在启用ipp支持的情况下进行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!