Dependency on VCOMP90.DLL in VS2008 Pro OpenMP project

被刻印的时光 ゝ 提交于 2019-12-08 21:08:24

问题


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.

How can I get rid of this dependency?

Some information:

  • /openmp is set in compiler options
  • I statically link against vcomp.lib
  • include is set

  • using multithreaded library (/MT)

Thanks a lot for your help!


回答1:


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:

  • http://msdn.microsoft.com/en-us/library/0h7x01y0.aspx

It doesn't look like a static lib is provided.



来源:https://stackoverflow.com/questions/1634516/dependency-on-vcomp90-dll-in-vs2008-pro-openmp-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!