This section uses <install_dir> to indicate the top-level installation directory. The following table describes the subdirectory structure for Windows* OS, relative to <install_dir>.
Item |
Location |
Environment Variable |
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Include files |
include\tbb\*.h |
INCLUDE |
||||||||||||||||||||||||||||||||||||
.lib files |
lib\<arch >\vc <vcversion >\<lib ><variant >.lib |
LIB |
||||||||||||||||||||||||||||||||||||
.dll files |
..\redist\ <arch>\tbb\vc <vcversion> \<lib ><variant >.dll
|
PATH |
||||||||||||||||||||||||||||||||||||
.pdb files |
Same as corresponding .dll file. |
|||||||||||||||||||||||||||||||||||||
Examples |
examples\<class>\*\. |
|
||||||||||||||||||||||||||||||||||||
Microsoft Visual Studio Solution File for Example |
examples\<class>\*\msvs\*<compiler>.sln where: class describes the class being demonstrated.
|
|
The last column shows which environment variables are used by the Microsoft or Intel compilers to find these subdirectories.
Ensure that the relevant product directories are mentioned by the environment variables; otherwise the compiler might not find the required files.
Windows* OS run-time libraries come in thread-safe and thread-unsafe forms. Using non-thread-safe versions with Intel® TBB may cause undefined results. When using Intel® TBB, be sure to link with the thread-safe versions. The following shows the compiler options for linking with thread-safe versions of C/C++ run-time for cl or icl:
Not using one of these options causes Intel® TBB to report an error during compilation. In all cases, linking to the Intel® TBB library is dynamic.