|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Discusses the .lib files that make up the OpenMP run-time libraries in Visual C++.
The following libraries contain the Visual C++ OpenMP run-time library functions.
OpenMP run-time library
Multithreaded, dynamic link (import library for VCOMP.LIB).
Multithreaded, dynamic link (import library for VCOMPD.LID) (debug)
If _DEBUG is defined in a compilation and if #include omp.h is in source code, VCOMPD.LIB will be the default lib. Otherwise, VCOMP.LIB will be used.
You can use /NODEFAULTLIB (Ignore Libraries) to remove the default lib and explicitly link with the lib of your choice.
The OpenMP DLLs are in the Visual C++ redistributable directory and need to be distributed with applications that use OpenMP.