Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top