Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

_MSC_VER mismatch again

Xu_W_
Beginner
674 Views
Hi, Today I upgraded my MKL installation from 2017.0 to 2017.2 and recompile my application, then I got the following link error: 1>mkl_tbb_thread.lib(vml_tbb_threading_templates.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1900' in libboost_system-vc140-mt-1_62.lib(error_code.obj) And I found a similar bug did exist in a previous MKL version: https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/629012 Please fix it in the next MKL release. Thanks.
0 Kudos
3 Replies
Ying_H_Intel
Employee
674 Views

Hi Xu W,

thank you much for the report.

We will check it  and could you please let us know what version of Microsoft visual studio.

Thanks

Ying

Just FYI: MSC_VER mismatch  in  https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/629012

To work-around it, you may add '-D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH' to the compile line to disable MSVS version checks.

0 Kudos
Xu_W_
Beginner
674 Views

Hi ​Ying H.,

I'm using Visual Studio 2015 with Update 3, native x64 compiler.

Thanks.

0 Kudos
Ying_H_Intel
Employee
674 Views

Hello,

The issue is supposed to be fixed in latest version. Please check :  https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/743816

Thanks

Ying

0 Kudos
Reply