Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dependency on VCOMP90.DLL in VS2008 Pro OpenMP project

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!

like image 420
andreas-h Avatar asked Oct 28 '09 00:10

andreas-h


1 Answers

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.

like image 124
Michael Burr Avatar answered Sep 20 '22 13:09

Michael Burr