I have installed IntelSWTools 2017.4:
c:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows
My application uses TBB:
Release(/MD): tbb\lib\intel64\vc12\tbb.lib -> redist\intel64\tbb\vc12\tbb.dll
Debug(/MDd): tbb\lib\intel64\vc12\tbb_debug.lib -> redist\intel64\tbb\vc12\tbb_debug.dll
How to add MKL with TBB threading (so that there would be only one TBB instance) to application that uses TBB?
The problem is that mkl_tbb_thread_dll.dll (as I understand) linked with:
tbb\lib\intel64\vc_mt\tbb.lib -> redist\intel64\tbb\vc_mt\tbb.dll
which is different from what my application uses.
Is redist\intel64\tbb\vc_mt\tbb.dll for mkl_tbb_thread_dll.dll can be changed to redist\intel64\tbb\vc12\tbb.dll ?
If yes how to be with Debug build (somehow rename redist\intel64\tbb\vc12\tbb_debug.dll to tbb.dll)?
It seems there were discussion about the issue. As i recalled, you should be able to link the wanted tbb library with mkl_tbb_thread.lib .
vc_mt folder contains dlls which are statically linked to VC runtime. If you want to use the other tbb tied with MSVS version and runtime library., please try ,
if with Release(/MD)
Here i assume you are link MKL manually. If you are link MKL Automatically. (please switch it ) and follow the instruction in manually parts.
and please let us know if any issues.