在VS2008 Pro OpenMP项目中对VCOMP90.DLL的依赖 [英] Dependency on VCOMP90.DLL in VS2008 Pro OpenMP project
问题描述
我在VS 2008 Pro中有一个使用OpenMP的DLL项目.我将/MT用作代码生成"选项,因为我希望将所有依赖项静态链接到DLL中,因为我不想将许多库分发给我的客户端-所有内容都应包含在该DLL文件中.问题是我生成的DLL仍然依赖于VCOMP90.DLL.
I have a DLL project in VS 2008 Pro which uses OpenMP. I use /MT as 'code generation' option, because I want all my dependencies statically linked into my DLL, since I do not want to distribute many libraries to my clients - everything shall be included in this one DLL file. The problem is that my resulting DLL still depends on VCOMP90.DLL.
如何摆脱这种依赖性?
一些信息:
- /openmp在编译器选项中设置
- 我静态链接到vcomp.lib
-
包含已设置
- 使用多线程库(/MT)
- /openmp is set in compiler options
- I statically link against vcomp.lib
include is set
- using multithreaded library (/MT)
非常感谢您的帮助!
推荐答案
我认为您无法摆脱DLL依赖项-vcomp.lib
是VCOMP90.DLL的导入库-它不是静态库:
I don't think you'll be able to get rid of the DLL dependency - vcomp.lib
is an import library for the VCOMP90.DLL - it's not a static library:
它看起来不像是提供了静态库.
It doesn't look like a static lib is provided.
这篇关于在VS2008 Pro OpenMP项目中对VCOMP90.DLL的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!